wesleybertipaglia / fastapi-blog

πŸ““ A Full-Stack Blog Application built with FastAPI and React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ““ Blog Sphere

A Full-Stack Blog Application built with FastAPI and React.

Features:

  • βœ… Sign-up & Sign-in
  • βœ… Customizeable User Profile
  • βœ… Create and manage posts
  • βœ… Read, share and interact with posts
  • βœ… API Documentation
  • βœ… PostgreSQL Database
  • βœ… Alembic Migrations and seed data
  • βœ… Docker and Docker Compose
  • βœ… CI/CD with GitHub Actions (coming soon)
  • βœ… Monitoring and Logging (coming soon)
  • βœ… Automated Tests (coming soon)

πŸ“š Table of Contents

To know more about the project structure, check the structure.md file.

πŸ€– Getting Started

  1. Clone the repository
git clone https://github.com/wesleybertipaglia/blog-sphere.git
  1. Initialize and Activate the virtual environment
Make init
source venv/bin/activate
  1. Install the dependencies and init the alembic
Make setup
  1. Run the application
Make run

πŸš€ Open your browser and go to http://localhost:8000 to see the api in action.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
Make init Initialize the virtual enviroment
source venv/bin/activate Activate the virtual enviroment
Make setup Install dependencies and init the alembic
Make freeze Update the dependencies
Make run Starts the application
Make alembic-revision Make an alembic revision
Make alembic-upgrade Make an alembic upgrade

To know more about the commands, check the commands.md file.

πŸͺ§ Endpoints

The API has the following endpoints:

  • /auth: Sign-up and Sign-in
  • /profile: Read, Update, Delete
  • /users: Read
  • /posts: Create, Read, Update, Delete

To know more about the endpoints, check the endpoints.md file, or access the API documentation in the following URL: localhost:8000/docs

🧩 Tech Stack

To know more about the tech stack, check the stack.md file.

β˜‘οΈ Cheklist

The following checklist can be used to track the project progress:

  • Authentication
  • Authorization
  • Documentation
  • Tests
  • Docker
  • CI/CD
  • Deploy
  • Monitoring

πŸ“œ License

This repository is licensed under the [MIT]. See the LICENSE file for details.

Back to top

About

πŸ““ A Full-Stack Blog Application built with FastAPI and React.

License:MIT License


Languages

Language:Python 98.6%Language:Mako 0.8%Language:Makefile 0.6%