Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
/ qr-check-in Public archive

Service to check-in/out with a personal QR code

License

Notifications You must be signed in to change notification settings

kporten/qr-check-in

Repository files navigation

QR Check-in

STATUS: Experimental

Service to check-in/out with a personal QR code.

users_test_register

Requirements

Yarn 1 (Classic)

Install

Create an .env file, based on .env.example and modify the default values.

yarn install

Getting Started

Start the server and restart on changes automatically.

yarn start

Other scripts...

yarn build # build production-ready app
yarn lint # lint code with eslint
yarn type-check # run type check for files
yarn commit # commitizen friendly commit helper

Production

I recommend PM2 to help you manage and keep your application online.

Example

pm2 startup
pm2 start ./dist/app.cjs.js --name qr-check-in
pm2 save

Endpoints

/api/v1/users/register?name=[your-name]
/api/v1/users/:token/check-in
/api/v1/users/:token/check-out

About

Service to check-in/out with a personal QR code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published