Web service project for Eleos Technologies.
- 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
- (POST) Login
- 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
- /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 checks to ensure that the token provided is associated with a user, verifying that they're authorized to be logged into the app.
- /load is a GET method that returns a list of load objects
- /messages is a PUT method takes in a message body and saves it to the DB, then responds with the unique handle