This project is a simple API to manage scores. It allows you to create and retrieve scores.
To install the project, run:
npm install
To run the project, run:
npm run start
To create a score, send a POST request to /scores
with a JSON body:
{
"email": "batman@jl.com",
"score": 100
}
To retrieve all scores, send a GET request to /scores
.
You can run the project in development mode with:
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
To run tests, use:
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Visit the NestJS Documentation to learn more about the framework.