Skip to content

Latest commit

 

History

History
executable file
·
13 lines (8 loc) · 804 Bytes

README.md

File metadata and controls

executable file
·
13 lines (8 loc) · 804 Bytes

Deploying a Flask API

This is the project repo for the Fullstack Developer Nanodegree Project 4: Server Deployment, Containerization, and Testing.

API endpoint: http://a4d5c5647129311ea8d420a22cf9d500-2039112863.eu-west-1.elb.amazonaws.com/

The Flask app that will be used for this project consists of a simple API with three endpoints:

  • GET '/': This is a simple health check, which returns the response 'Healthy'.
  • POST '/auth': This takes a email and password as json arguments and returns a JWT based on a custom secret.
  • GET '/contents': This requires a valid JWT, and returns the un-encrpyted contents of that token.

There is a Postman Collection in the file: udacity-eks.postman_collection.json