- Live on Render at backend.mugi.pet
- API documentation can be found at backend.mugi.pet/docs
- Database schema can be found at dbdiagram.io/d/pet-sitter-673b448ee9daa85acad632f0
- Live on Render at mugi.pet
- Its repo is located at https://github.com/cc-pet-sitter/frontend
- To help pet owners find people to watch or check on their pets while they are away
- Python
- FastAPI
- Tortoise ORM
- PostgreSQL
- Firebase
- Python is installed
- Poetry is installed
- PostgreSQL is installed
- This repo has been cloned locally
-
Using
psql, runCREATE DATABASE petsitter;to make the database -
Create a
.envfile in root directory of your local copy of this repo -
In your
.envfile, add the following three variables and assign their values as follows:
-
DATABASE_URL: Value should be the path specific to your local database (starting withpostgres://) -
FIREBASE_CREDENTIALS: Value should be the entire firebase-adminsdk.jsoncredential file encoded in base64, as received from an existing team member -
FRONTEND_BASE_URL: Value should behttp://localhost:5173
-
In terminal, run
poetry installto install dependencies -
In terminal, run
poetry run startto start the server, create the database tables intopetsitter, and have them seeded with sample data -
The application is ready for use when see the ouput
INFO: Application startup complete.in your terminal