This is the backend for the Sleep Counting App. It is built using NestJS.
- NestJS: The main technology used for building the backend.
- MongoDB: The database used for storing data.
- Jest: The testing framework used for running tests.
- Docker: Any other tools used in the project.
- Clone the repository:
git clone https://github.com/marciobera/sleep-counting-app
. - Navigate into the project directory:
cd sleep-counting-app/backend
. - Install the dependencies:
npm install
. - Set up the database:
docker-compose up
. - Start the server:
npm run start:dev
.
- Navigate into the project directory:
cd sleep-counting-app/backend
. - Run the tests:
npm run test
andnpm run test:e2e
.