This project's main goal was to learn MongoDB and practice async-await.
- The NodeJS app interacts with several mongoDB callections.
- The countries' names list read from database (DB) is then used to collect each country's full details from REST API.
- Those details are persisted in another collection in mongoDB.
- All those operations (CRUD and HTTP requests) are required to be asynchronous (async-await).
MongoDB Compass => country_name collection: MongoDB Compass => country_full_data collection: VSCode screenshot:
Api used in the project: link: https://restcountries.eu/
- MongoDB
- nodejs
- fecth
- async-await
- Json
- MongoDB
- async-await
- nodejs
- fs, fetch
Project is: Finish