Skip to content

A GraphQL & REST powered API written with typescript. It is an application based on the expressJS framework, for managing multiple voting sessions or elections.

License

Notifications You must be signed in to change notification settings

holahmide/public-voting

Repository files navigation

An API for a Voting Application with GraphQl

This is an API that serves GET requests with GRAPHQL and other POST, PUT and DELETE requests with REST. You can clone the project and tweak it to suit your application requirements

Setup code

You need to have "nodejs" installed on your computer and "npm" was used for this project.

git clone https://github.com/holahmide/public-voting.git public-voting

cd public-voting

npm install

Add enviromental variables

touch .env
nano .env

Add the properties in the .env.example file to the .env file

Running application

# for development
npm run start

# for production
npm run build

About

A GraphQL & REST powered API written with typescript. It is an application based on the expressJS framework, for managing multiple voting sessions or elections.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages