Skip to content

A node / express api starter with helmet, morgan, express-rate-limit and mongoose.

License

Notifications You must be signed in to change notification settings

justinbalaguer/node-api-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NODE API STARTER

created by

A node / express api starter with helmet, morgan, express-rate-limit and mongoose.


ACCESS API

To access /v1 route, you need API key.

GENERATE KEY

To generate a key: http://localhost:5000/key (default rate limit: 3)

USE API KEY

To use API key, include it as a query http://localhost:5000/v1?key=<your_api_key>

TEST ROUTES

For testing routes run npm run test (note: generate a key first and add it to api.test.js file)


ROUTES

URL API KEY
http://localhost:5000/ no
http://localhost:5000/v1 yes

Made with 💖 by Justin Balaguer

About

A node / express api starter with helmet, morgan, express-rate-limit and mongoose.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published