Skip to content

AymericBebert/count-together-backend

Repository files navigation

count-together backend

Backend for count-together project

Installation

cp .env.dist .env
npm install

Run the server

npm run start

Run tests

npm run test

Run lint

npm run lint

With auto fix

npm run lint:fix

Build and publish a new version

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.

Backup

Dump

mongodump --uri="mongodb://root:password@localhost:27017/count?authSource=admin" --gzip --archive="count-together-$(date -u +"%Y-%m-%dT%H-%M-%SZ").archive.gz"

Restore

mongorestore --uri="mongodb://root:password@localhost:27017/count?authSource=admin" --gzip --archive="count-together-$DATE.archive.gz" --drop

About

Backend for count-together project

Resources

License

Stars

Watchers

Forks

Packages

No packages published