Skip to content

AmirEspahbodi/listings

Repository files navigation

Listings App

A full-featured listings application where users can authenticate, create, edit, and delete their listings. Users can also view listings from all other users. The app is built using FastAPI, Pydantic, SQLAlchemy, and PostgreSQL, with JWT for secure authentication.

Features

  • Authentication: Secure authentication using JWT tokens.
  • User Listings: Users can create, edit, and delete their listings.
  • FastAPI: Lightning-fast Python framework for building APIs.
  • SQLAlchemy: ORM for database interactions.
  • PostgreSQL: Reliable and robust database management.

Tech Stack

  • Backend: FastAPI
  • Database: PostgreSQL
  • ORM: SQLAlchemy
  • Data Validation: Pydantic
  • Authentication: JWT (JSON Web Tokens)
  • Deployment: Docker

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/listings-app.git
    cd listings-app
  2. Run the application:

    sudo docker build .
    sudo docker-compose up -d
    sudo docker-compose exec web python3 -m scripts.on_start
    sudo docker-compose exec web python3 -m pytest app/tests/

About

listings api with fastapi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published