This a python api project without using any framework. No flask or django are needed.
I used the http.server library, one of python3 defaut libraries to build this.
- Python 3.6
- Postgres
- sqlalchemy
- psycopg2
- pyrsistent
- Install requirement libraries
pip install -r requirements.txt
- Config database connection in ./src/cfg/defaults.py
DB_CONNECTION = "postgres://postgres:postgres@localhost/local"
- Initial project
make init-db
- Run project
make run
- Install requirement develop libraries
pip install -r requirements.dev.txt
- Test system
make run-test