Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 814 Bytes

README.md

File metadata and controls

54 lines (43 loc) · 814 Bytes

REST API using Flask

Tech used

  • Python 3
  • Flask
  • SqlAlchemy
  • Asyncio
  • Celery
  • Redis
  • Sqlite

Api Endpoints

Installing

pip install -r requirements.txt

Init database and load initial data

python manage.py initdb

Run dev server

python server.py

Run Test

python -m unittest tests/*.py

Run celery worker

celery -A app.celery worker

Improvements

  • More unit test cases. At the moment test coverage is not enough.
  • Better Design architecture
  • Better management of dependency injection
  • Documentation and code comments.
  • Better database schema design
  • Code quality

Tools

  • OS - Mac/Ubuntu
  • IDE - Pycharm