Backend for count-together project
cp .env.dist .env
npm install
npm run start
npm run test
npm run lint
With auto fix
npm run lint:fix
We use GitHub Actions to build the new version on release.
In order to build a new version, you need to create a new release on GitHub, using semver tags.
mongodump --uri="mongodb://root:password@localhost:27017/count?authSource=admin" --gzip --archive="count-together-$(date -u +"%Y-%m-%dT%H-%M-%SZ").archive.gz"
mongorestore --uri="mongodb://root:password@localhost:27017/count?authSource=admin" --gzip --archive="count-together-$DATE.archive.gz" --drop