Skip to content

pawsio/pawsio-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pawsio-server

An IOT pet monitoring single page app server deployed on Heroku https://pawsio.herokuapp.com

Built with

  • MONGO
  • Express
  • AngularJS
  • NodeJS
  • Deployed with Heroku

Authors

Caitlin Araldi, Chris Bruner, Nathan Hugon, Michelle Srikhundonr

Version 1.0.0

Fully integrated front-end single page web application with RESTful API backend and a Mongo DB for data persistence

  • Front end will allow new users signup with a new account or returning users to signin instead
  • Users may then register a new pet to their account ( just dogs for now, sorry :/ )
  • You may then register your IOT device with your pets name using our IOT app source code
  • As soon as the pet and IOT device has been registered, it will begin transmitting data using your local WIFI source

Application Structure

There are three main API endpoints that perform our CRUD operations as shown in our main routes:

  • url/api/users
    • endpoint used for verifying tokens, user signup and signin and where admins may delete users
  • url/api/pets
    • endpoint for getting all pets related to a user, a specific pet by id or query string, adding pets, updating pets and removing them
  • url/api/pet-snapshots
    • endpoint used for posting collected data from the IOT application, retrieving said data, giving it a name and deleting it as necessary

Testing

Testing can be performed for our various database end2end routes and CRUD methods. If npm is installed with the following two commands:

$ npm run test
$ npm run test:watch

The first command will perform all test at once using mocha. The second command will test and allow you retest your files as changes are made.

Issues

Please feel free to submit issues on our Github Account!

License

MIT

About

server for pawsio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages