This is Todo application system
git clone https://github.com/avyayjain/video_management.git
2. Install the requirements to install the requirements run the following command
pip install -r requirements.txt
alembic revision --autogenerate -m " initial migration"
alembic upgrade head
4. create the .env file and add the following variables
DATABASE_URL
DATABASE_USER
DATABASE_PASSWORD
DATABASE_DB
SECRET_KEY
ALGORITHM
ACCESS_TOKEN_EXPIRE_MINUTES
python3 -m uvicorn main:app --host 0.0.0.0 --port 8000
you can also use fastapi cli
6. you can also build the docker container by running the following command
docker build -t video_manegement .
7. you can run the docker container by running the following command
docker run -d -p 8000:8000 video_manegement
1. now you can go to the postman the collection by visiting this url
https://www.postman.com/technical-saganist-64650375/workspace/projects/collection/23939640-e40ae493-90df-4a04-afe0-04e326b16cd6? action=share& creator=23939640
2. you can also go to the swagger documentation by going to the following url
http://localhost:8000/docs
3. you can also test some api by the command
4. for api documentation you can go to the postman collection documentation for endpoins and response