/blogpost_api

An API to allow users to perform CRUD operations on blog post.

Primary LanguagePython

BlogPostAPI

Endpoints for Blog Post API

Requirement and Installation

Via Cloning The Repository

# Setup Env
Follow the format specified in the .env.template file and after rename .env

# Setup postgres
Create a PostgreSQL database called "BlogPostAPI"
  1. git clone https://github.com/Daquiver1/blogpost_api.git
  2. Install python dependencies
    • pip install -r requirements.txt
  3. cd blogpost_api
  4. alembic upgrade head
  5. uvicorn src.api.main:app --reload
  6. The app is now running on http://127.0.0.1:8000