servaria
v1.1.4
Published
Servaria is a way to make a express server quick!!!!
Downloads
4
Maintainers
Readme
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)})