Skip to content

DamyonOEleos/olsonWebServiceProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Damyon's Web Service Project

Web service project for Eleos Technologies.

TO DO LIST

  • Decide on a language / framework [JavaScript/Node.js]
  • Get a boilerplate server running
  • Implement endpoints:
    • (POST) Login
      • Takes in a username/password
      • Returns a user object and a token to be used for verification
    • (GET) Verifies
      • Use token recieved from Login to verify periodically as the user uses the app and ensures that they should still be logged in. Instead of a user/pass it sends a token
    • (GET) Load
      • Returns a list/array of load objects
    • (PUT) Message
      • Message data sent to this endpoint
  • Host the API on AWS
    • Complete AWS Registration Process
    • Create an EC2 Instance and upload my project
      • Ensure all the correct libraries are installed and working for everything to run smoothly
  • Complete final tests and verify that the API will stay published

Endpoints

/authenticate

  • /authenticate is a POST method that takes in a usernam/password and responds with a user object that contains a token used for verification.

/authenticate/:token

  • /authenticate/:token checks to ensure that the token provided is associated with a user, verifying that they're authorized to be logged into the app.

/loads

  • /load is a GET method that returns a list of load objects

/messages/:handle

  • /messages is a PUT method takes in a message body and saves it to the DB, then responds with the unique handle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published