Skip to content

SustenTerra/backend

Repository files navigation

SustenTerra - Backend

FastAPI Backend for SustenTerra APP. It has two main big features:

Marketplace

  • Users can create post and sell their products
  • Users favorite products from other users

Courses

  • Users can see the available courses
  • Users can enroll in courses

Pre requisites

Installation

  • Clone the repository
  • (Recommended) Set poetry environment in folder poetry config virtualenvs.in-project true
  • Run make install to install dependencies
  • Run make db-up to start the database
  • Run make db-upgrade to run migrations
  • (Optionally) Run make db-seed to run seed and fill database with fake data
  • Run make start to run server for the first time and run migrations

Run