A simple basic REST API created using Express framework. The API servers the cites of world database, allows users to filter by country code and update population of cities usings its api endpoints.
- helmet
- morgan
- cors
- swagger-UI-express
- router
- clone the repo.
- Open the cloned repo and run
npm install
. - To start the Express server run
node app.js
ornodemon expworld
- Open http://localhost:3000/docs to read the API documentation and live code examples to test each endpoint.