A node / express api starter with helmet, morgan, express-rate-limit and mongoose.
To access /v1 route, you need API key.
To generate a key: http://localhost:5000/key (default rate limit: 3)
To use API key, include it as a query http://localhost:5000/v1?key=<your_api_key>
For testing routes run npm run test (note: generate a key first and add it to api.test.js file)
| URL | API KEY |
|---|---|
http://localhost:5000/ |
no |
http://localhost:5000/v1 |
yes |
Made with 💖 by Justin Balaguer