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
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
touch .env
nano .env
Add the properties in the .env.example
file to the .env
file
# for development
npm run start
# for production
npm run build