Skip to content

TheUniversityMarket/api

Repository files navigation

UMarket API

Description

Dockerized FastAPI based API connecting UMarket to a Firebase Admin SDK deployed on Digital Ocean.

Live @ https://umarket-2o3xg.ondigitalocean.app/

Docs @ https://umarket-2o3xg.ondigitalocean.app/docs

Tech Stack

  • Python 3.9
  • FastAPI
  • Firebase Admin SDK
  • Docker
  • Docker Compose
  • Digital Ocean

Installation

  1. Clone the repository
  2. Install Docker and Docker Compose
  3. Place "secrets" folder in the root of the project
  4. Run sh docker.sh
  5. Navigate to localhost/docs to see the API documentation

Deployment

  1. Place "secrets" folder in the root of the project
  2. Install docker and docker-compose
  3. Join the Digital Ocean team
  4. Install the Digital Ocean CLI
  5. Run doctl auth init --context umarket
  6. Run doctl registry login --context umarket
  7. Run sh docker.sh

About

Dockerized FastAPI CRUD API for UMarket software connecting to Firebase Admin SDK

Topics

Resources

Stars

Watchers

Forks