Skip to content

singsaker/intern

Repository files navigation

Singsaker Studenterhjem Internal Dashboard

Screenshot 2022-04-06 at 17 20 16 Screenshot 2022-04-06 at 17 21 55 Screenshot 2022-04-06 at 17 21 21 Screenshot 2022-04-06 at 17 21 39

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.

Installing

Clone the repository to your local machine

git clone https://github.com/singsaker/intern.git

Create /backend/.env.development

SECRET_KEY=<INSERT_DJANGO_SECRET_KEY>

Build Docker images

docker compose build

Run project

docker compose up
docker compose exec backend python manage.py makemigrations
docker compose exec backend python manage.py migrate

Load initial data

docker compose exec backend python manage.py loaddata initial_data
docker compose exec backend python manage.py loaddata members

This command pushes initial data from fixtures and default superuser:

Username Password
admin password

Backend admin is accessed at localhost:8000/admin with graphQL endpoint localhost:8000/graphql. Frontend runs on localhost:3000

About

Migrating backend to Django and frontend to TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •