Skip to content

Node Server without NPM with same routing as express provides

Notifications You must be signed in to change notification settings

anuragmishra1/node-server-without-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-server-without-npm

Node Server without NPM with same routing as express provides

To create self signed certificate

$ openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

For creating routes

Open lib/routes.js, add routes with get, put, post and delete HTTP method.

Start the server

$ node .

About

Node Server without NPM with same routing as express provides

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published