Skip to content

Student Group Project for SystemsDevelopment Module HTW@2022

Notifications You must be signed in to change notification settings

jKnepel/H8M8-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SystemsDevelopmentWS22-AI-Moderation Frontend

Student project for SystemsDevelopment Module, created by a team of students. Uses React, Mantine and Recharts to visualise use of hatespeech collected by bots in chatrooms, such as Discord, Telegram etc.

Development

Setup for Developers

Before Running Webapp (Environment Variables)

Before running, set up the environment variables. Either by creating a file named '.env' (easiest and simplest), setting the env variables as flags for the parcel bundler, or creating multiple env files for different environemnts (like '.env.production' or '.env.development').

The '.env.template' file can be used as a template.

  • SERVICE_WORKER_ON = true | false set true if you would like to enable the mockserver with sampel API data. Default: false.
  • BACKEND_URL = <url of api> optionally, you can set the url of the API. By default you don't have to set this, because the url defaults to a url, depending on whether in development mode and whether SERVICE_WORKER_ON=true.

Default URL's:

Run Webapp Locally (Start Development Server)

Execute following commands:

  • cd webapp (change directory to webapp)
  • npm install
  • npm run start to start the dev server

Troubleshooting

After merges you might need to run npm install, to install changed dependencies. You should also delete the '.parcel-cache' folder after many changes or changed dependencies. Or just run npm run postmerge in the webapp folder.

Tech Stack

About

Student Group Project for SystemsDevelopment Module HTW@2022

Resources

Stars

Watchers

Forks