Sqlite3 is used to store data, but you can use other databases.
$ yarn install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
/auth/login - login:admin password:admin
/votes/ - to get votes
/votes/create - to create vote
JWT_SECRET=secret - jwt secret key
JWT_ACCESS_EXPIRESIN=15m - lifetime of the access key
JWT_REFRESH_EXPIRESIN=1h - lifetime of the refresh key