npm, mongoDB Cluster.
For installing node Setup go to the folders using terminal: then type:
npm init
npm install
For installing express Setup:
npm install express
For loding all the data in the Database for 1 time user
node data_loader.js
After that you can use this code.. and Start the server by typing: npm start or node test.js
Open the brower and check the local host: http://localhost:8001/index.html
To check the sever is live or not: http://localhost:8001/checkLive
Use this Api: http://localhost:8001/login
Along with JSON
{
"Name":"Aditya",
"Password":"adi"
}
Use this Api: http://localhost:8001/weatherdata
Use this Api: http://localhost:8001/predictdata
Use this Api: http://localhost:8001/historicalweather
Use this Api: http://localhost:8001/uploadweather
Use this Api: http://localhost:8001/weeklydata
Use this Api: http://localhost:8001/flaskdata
Use this Api: http://localhost:8001/bikedata
Use this Api: http://localhost:8001/trafficdata
Use this Api: http://localhost:8001/pollutiondata
Use this Api: http://localhost:8001/eventid
Use this Api: http://localhost:8001/deleventid?id=139973682051
Use this Api: http://localhost:8001/addeventid?id=139973682051
https://git.heroku.com/citymanagement.git
https://github.com/Adityasiwan007/City_Management_Bankend_Node.git
mongodb+srv://Aditya:@cluster0.qqq3s.mongodb.net/test