Skip to content

A web app used by our school's assembly hall technicians to manage events and digitalize their registration

Notifications You must be signed in to change notification settings

chfuchte/ATecVue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATec-Website

The Website of the ATec of the GRB. It is implemented in Vue and with Vuetify in the frontend and with MongoDB and Express in the backend.

use

  1. install the latest node version
  2. install mongodb and mongosh
  3. run npm run build in both folders
  4. create a new folder and copy the content of the lib folder in the backend in it
  5. create a new folder public in this new folder and copy the content of dist (frontend) in it
  6. create a .env file like:
DISCORD_TOKEN = <Discord-Bot-Token>
DISCORD_APPLICATION_ID = <Application-Bot-Token>
DISCORD_DEFAULT_CHANNEL = <Discord-Channel-ID>
DISCORD_EVENT_CHANNEL = <Discord-Channel-ID>
DISCORD_REMINDER_CHANNEL = <Discord-Channel-ID>
PORT = <PORT>
DB_URL = <DB-URL>
DB_NAME = <DB-Name>
SESSION_SECRET = bar
JWT_SECRET = foo
PUBLIC_DIR = <path_to_public_dir>
  1. insert an admin with mongosh into the users collection. like insertOne( username: "admin", permissionLevel: "admin", password: <bycrypt-hash-10-rounds>, contactAdress: <email-adress>,})
  2. copy the package.json and install all node-modules
  3. run your server
  4. login with your created account

usertypes

The user types extend eachother, a user < technician < admin. "locked" is a special case.

user

  • Change Password
  • create new event

technician

  • view events
  • participate on them on the discord server

admin

  • manage users
  • delete events

locked

The user exists, but can't login (blocked). No permissions

features

Webpage

  • create a new event
  • view events
  • manage users

Discord Bot

  • /register Register own account.
  • /userinfo return the contactAdress of a user
  • Send msg on new event
  • Participate on events.

About

A web app used by our school's assembly hall technicians to manage events and digitalize their registration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages