This project aims to implement a simple TODO app using FAST API.
Following things must be installed on your system
- Python 3.8+
- docker engine
- docker-compose
- virtual env
Clone the repository to your desired location.
It is recommended to use a virtual environment for coding and debugging purposes. To create one, use the following command:
python3.9 -m virtualenv myenvMake sure virtual env is outside the project repository.
and activate it using:
source myenv/bin/activateAfter that, just run the following command to build and start the application:
docker-compose up --buildBase information is provided in the .env file. This project is currently
intended for running in localhost only.
Fast API provides auto generated schema and can be accessed at localhost/docs once your project is up and running.
To run calls from within swagger, press the Authorize button. A modal will appear.
Enter your username and password and press Authorize. It will log you in. Now you can call from the swagger directly.
To run unit test cases for backend, simply run the following command in bash:
docker-compose run backend sh tests-start.shThis concept project has been designed using the Fast API Project Generation.
Using the following repo mentioned in the above link.

