basic microservice using Flask, Sqlalchemy, and Postgres.
$ python3 —version
$ pip3 install pipenv
$ pipenv shell
$ pipenv install flask flask-sqlalchemy flask-marshmallow marshmallow-sqlalchemy psycopg2-binary
$ python
>>> from app import db
>>> db.create_all()
$ exit
-
Deal with this: >>>WARNING: This is a development server. Do not use it in a production deployment. Get this on a production ready server.
-
Deploy this microservice to AWS.
-
Add directions for DB setup in development.
-
Deploy DB to AWS.
-
Separate model and schema to its own directory.
-
Write test cases for endpoints.
-
Add error handling.
-
Create auth service and make sure they are authenticated before they can use these endpoints.
-
Add config service so other services know what config to use.