npm.io
1.1.4 • Published 5 years ago

servaria

Licence
ISC
Version
1.1.4
Deps
1
Size
2 kB
Vulns
0
Weekly
0

Servaria

Servaria is a way to make a express server quick!!!!

How to use

npm run servaria This will create a Folder called * Server . Then cd into the folder and run npm init -y Then you can run npm run start Then go to what ever port it registers as and go to it http://localhost:{port}/

Installation

npm i servaria

Template

const express = require("express");
const app = express();
const port = 2000 || 3000;
app.get('/', (req, res) => {
res.send(`This server is running on port ${port}`)})
app.listen(port, connected => {
console.log("Listening to port " + port)})

Keywords