COUNTRY API https://anhmmo.me/api/v1/countries
(NODEJS, EXPRESSJS, MONGODB, MONGOOSE)
REST Countries - RESTful API https://restcountries.eu CLONE with advanced custom results . Get information about countries via a RESTful API. API End points include name, full name, code, list of codes, currency, language, capital city, calling code, region, bloc and more.
Rename "config/config.txt" to "config/config.env" and update the values/settings to your own
npm install
# Run in dev mode
npm run dev
# Run in prod mode
npm start
# Run in test mode
npm run test
To seed the database with users, countries with data from the "_data" folder, run
# Destroy all data
node handleData -d
# Import all data
node handleData -i
The API is live at anhmmo.me
Extensive documentation with examples here
- Version: 1.0.0
- License: MIT
- Author: Aun