there are 3 routers in the App newsdata, categories and news
- newsdata: there are 3 endpoints, 2 retrieve latest news and sources from https://newsdata.io/ and the other one retrieves news and store it on the DB
- categories: get, create, update and delete category
- news: get, create, update and delete news
nodejs 14 or higher
- download the project
git pull https://github.com/saifhamdan/adv-db-exercise.git
- download and add the config.env file that I submitted on elearning to the project root folder, it contains my API KEY and database configuration
- install packages and run the App
npm install
npm run prod
- that's it!!