Skip to content

second try at building a barometric pressure focused application

Notifications You must be signed in to change notification settings

faetea/weatherBE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pressure Tracker

This is the back-end API for my data charting web application. My second go at building an app focused on tracking the effect of quick barometric pressure change on chronic health issues. It does this by collecting user health symptoms and local barometric pressure.

Pressure Tracker is a RESTful API created using Node.js and Express. I'm using a CronJob to get the barometric pressure for my zipcode every hour, and save it in my PostgreSQL database.

The front-end repo is here: github.com/faetea/weatherFront

Deployed application is here: faetea.github.io/weatherFront

Installation

git clone and npm install.

Running / Development

Run npm start, visit your app at http://localhost:3000.

ROUTES

Verb URI Pattern Notes
POST /signup uses bcrypt to salt and hash
GET /login what info login expects
POST /login passport.authenticate
DELETE /logout broken??
POST /entries passport auth, user creates new log
GET /entries passport auth, lists all of user's logs
GET /health passport auth, json for user health chart
GET /pressure?weeks=1 json for barometric pressure chart *
* /pressure?weeks=1 limits query by number that represents weeks

Technologies Used

Other Useful Links

About

second try at building a barometric pressure focused application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published