API for the React Blog App by Chathura Yapa
-
Blog domain
- Create
- Delete
- Read
-
Comment domain
- Create
- Delete
- Read
-
Like domain
- Create
- Delete
- Read
-
Database migration
- Create migration shell script
- Create migration SQLs
-
Docker setup
- Basic API deployment
- Database migration before API dpeloyment
-
MakeFile setup
-
Clone this repo from GitHub and from root directory run
pip install -r requirements.txt
to install the dependancies.Then run
uvicorn main:app --reload
to host the API in local machine. The documentation is available on http://127.0.0.1:8000/docs -
Or if you have Docker, run
docker-compose up