Skip to content

API for a university carpooling application called Navette

Notifications You must be signed in to change notification settings

tanguynicolas/Navette

Repository files navigation

Navette API

API for a university carpooling application called Navette. Project for University of Picardie (Amiens, France) - Master Degree.

Initial setup

python3 -m venv .venv
source .venv/bin/activate

pip install fastapi "uvicorn[standard]" "pydantic[email]" pydantic-settings sqlalchemy psycopg2-binary alembic
pip freeze > requirements.txt

Setup

python -m venv .venv
source .venv/bin/activate

pip install -r requirements.txt

touch .env

Migration

Adapt .env file before if necessary.

alembic revision --autogenerate [-m ""]
alembic upgrade head

Run locally

Adapt .env file before if necessary.

docker compose -f docker-compose-local.yml up -d 
uvicorn src.main:app --reload

Access

You maybe need Bearer Token to access to the apps.
For example :

Authorization: Bearer Ym9zY236Ym9zY28Ym9zY236Ym9zY28=

About

API for a university carpooling application called Navette

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published