Skip to content

cyapa/react-blog-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for the React Blog App by Chathura Yapa

API Domains

  • 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

How to run the API in local machine

  1. 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

  2. Or if you have Docker, run docker-compose up

About

The API for the react--blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published