Docker desktop is needed to run the next scripts
To compose a container with SQL Server, create a database and apply an initial seed
npm run dev:db:start
To run the server with watch mode
npm run dev:start
To build the project, compose a docker container with SQL Server, create a database, apply an initial seed and run the built server
npm run prod:deploy
To compose a container with SQL Server, create a database for testing
npm run test:start
ping:
curl -X GET http://localhost:3010/ping
get dogs:
curl -X GET http://localhost:3010/dog
get dogs ordered by attribute with pagination:
http://localhost:3010/dog?&pageSize=2&attribute=name&pageNumber=1&order=desc
- Typescript
- Error & Not found middleware
- Errors, warning and information logs at log folder
- Eslint with standard library styles format used
- Script for building & start server on production
- Script for start server on development
- Validation of request.body & request.query data
- Testing