Skip to content

skni-umcs/powerdrive-back

Repository files navigation

Smaug (Powerdrive Backend)

API source for the Powerdrive project

Powerdrive is a website that allows you to store and share files. It also provides a simple calendar allowing you to keep track of your events.

Frontend | Website

Contributors


Jakub Buczek

Jan Bylina

Kinga Stec

Michał Latra

Bartłomiej Dąbrowski

Images

Website screenshot 1 Website screenshot 2 Website screenshot 3 Website screenshot 4

Requirements

docker
docker-compose

Development

To start the development server, run the following command:

docker compose up -d

This will start the development server on port 8000, and the database on port 5432.

Tests:

To run all tests:

docker compose run --rm smaug test

Migration:

To add new migrations: import your SqlAlchemy model to alembic/env.py and run the following command:

make migration name=<migration_name>

Migrations are run automatically when starting the development container. To run migrations manually:

make migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages