- Node.js
- Express.js
- Postgresql
- News API (Need Authorization)
- Weather API
- Create a table users with fields username,email,password in database named techalchemy
Get the repo
npm install
create .env file like below
npm run dev (To Run development)
App will start on default port 9090
- PORT: default 9090
- NEWS_API_URL : https://newsapi.org
- NEWS_API_TOKEN https://newsapi.org/ Token
- WEATHER_API_URL: https://api.openweathermap.org
- WEATHER_API_TOKEN=https://api.openweathermap.org Token
- TOKEN_KEY : Token Key for Api Authentication
- DB_HOST : Database hostname
- DB_USERNAME: Database Username
- DB_PASSWORD= Database Password