Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

machbarschaft/machbarschaft-dashboard

Repository files navigation

Machbarschaft Dashboard

Machbarschaft Logo

Project Machbarschaft was created in the context of WirVsVirus Hackathon hosted by the German Government. Our pitch video can be found on youtube. We also have a Devpost Profile and a website machbarschaft.jetzt.

This repository contains the Admin Dashboard which is meant for the helper, to create new help seekings and manage them.

Angular project for Machbarschaft

This project was generated with Angular CLI version 9.1.7.

Development server

Start admin-dashboard

npm run start:dashboard

Build admin-dashboard

npm run build:dashboard:production

Start lite-server for admin-dashboard project (located at dist/admin-dashboard)

npm run liteserver:dashboard

Build style-lib

npm run build:style

Firebase deployment

npm run firebase:deploy:dashboard

Further information will be added soon

Register an admin user

The registation route is disabled in production mode. For development, the route is exposed as:

http://localhost:4200/registration

Create yourself a user with email [email protected].

Set in PostgreSQL to role ADMIN

Manually connect to the database and run: UPDATE public.user SET role = 'ADMIN' where email = '[email protected]' to give the user created above a priviledged mode.

Project structure

project path
default angular project src
admin-dashboard projects/admin-dashboard
style lib and component library projects/style-lib

made with ❤ by us (machbarschaft).