Skip to content

profy12/nodejs-sample-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample domain API with Express JS and Redis

Run and Debug

To avoid restart manually install the nodemon cli :

sudo yarn global add nodemon

Now run the app like that

nodemon app.js

If you want usefull debug message for your daemon you can launch like it

DEBUG=express:* nodemon app.js

Usage

Get documentation

curl http://127.0.0.1:3000/doc

Get empty root

curl http://127.0.0.1:3000

Get API documentation

curl http://127.0.0.1:3000/api

About

Sample to start building a API with expressjs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published