machbarschaft / machbarschaft-dashboard

admin-dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 hallo@machbarschaft.jetzt.

Set in PostgreSQL to role ADMIN

Manually connect to the database and run: UPDATE public.user SET role = 'ADMIN' where email = 'hallo@machbarschaft.jetzt' 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).

About

admin-dashboard

License:GNU General Public License v3.0


Languages

Language:TypeScript 46.5%Language:HTML 34.7%Language:SCSS 9.4%Language:JavaScript 8.8%Language:Dockerfile 0.5%