Skip to content

idkbrowby/gamingrealm-backend

Repository files navigation

GamingRealm Backend

API Testing

Architecture

TODO: fill this in

Developing

This project uses the Poetry package manager. After installing poetry, run

poetry install

in this directory to install all dependencies. Then, run

poetry run pre-commit install

to install the git pre-commit hooks. To manually trigger linting, run poetry run task lint.

The following steps will differ depending on whether you have PostgreSQL installed locally.

Local PostgreSQL

  1. Set the GR_DATABASE_URL environment variable (or make a file called .env in this directory and make it); set it to your database connection URL.
  2. Run
poetry run prisma generate
poetry run prisma migrate dev

You don't have PostgreSQL installed

Just use our Docker container for development

docker compose up

Running the server

Run

poetry run task runserver

Running tests

Run

poetry run task test

Database Structure

ER Diagram

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •