Skip to content

secured/voting-service-api

 
 

Repository files navigation

voting-service-api

GraphQL API

Install the application

npm install

Build for production

npm run build

Run DEV server

npm run dev

Application specific CLI scripts

You need to provide a .env file with all required data. Only run scripts from within the root of the project (The place where the .env file resides).

Create SQL schema

npm run create-schema

Register new organizer using cli

  • First build the project with npm run build.
  • Next run the following command in the root of the project:
node dist/console/register-organizer.js --username="example" --email="example@domain.tld" --password="12345678" --public-name="Example Public"

All arguments are required!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • Pug 2.0%