- Clone the project
- copy
.env.example
to.env
- run
npm install
- enjoy your API on
http://localhost:1337
To use remote database change the .env
parameter MONGO_CONNECTION
to yours.
You can find working example hosted on heroku apps
https://got-api-insta.herokuapp.com/list
https://got-api-insta.herokuapp.com/stats
https://got-api-insta.herokuapp.com/count
https://got-api-insta.herokuapp.com/search