voting-service-api
January 26, 2024 ยท View on GitHub
GraphQL API for Voting Service Client.
System requirements
- node
>=16.16.0 - npm
>=8.19.2 - mariadb
^10 - E-Mail provider
Before install
Create a .env file and fill out your system variables.
mv .env.dist .env
Install the application
npm install
Build for production
npm run build
Run DEV server
npm run serve
Application specific CLI scripts
Setup and update the database
npm run db:migrate
Create a new organizer using cli
Make sure that the application is running before you execute this script.
node bin/create-organizer.js --username="admin" --email="admin@domain.tld" --password="12345678" --public-name="Admin"
All arguments are required!