Skip to content

Backend API for Bar Camp Cyberjaya 2021 Registration and Voting app.

Notifications You must be signed in to change notification settings

bashketchum02/barcamp-2021-api

Repository files navigation

Barcamp Cyberjaya

Internal tests npm version

Barcamp Cyberjaya 2021 API

How to run

  • Clone repo
  • yarn add
  • Add .env
DB=mongodb://localhost:27017/api-db
JWT_SECRET=My!@!Se3cr8tH4sh3

JWT decoded body

tokenBody = {
                userId: req.body.userId,
                email: req.body.email,
                picture: req.body.picture,
                permissionFlags: req.body.permissionFlags,
            }
  • sudo docker-compose up -d or add your own mongodb connection string in the .env
  • yarn start or yarn debug

About

Backend API for Bar Camp Cyberjaya 2021 Registration and Voting app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published