Description • Technologies • Architecture • How to run the application
A client hired Compass to build a new microservice for its veterinary franchise. This microservice will be used by all the clinics they own for internal client and attendances management.
So, you have this new mission, to build the POC foundations of this brand new microservice, so the sales and management team can have the primary technical view of the needs that the client has.
- Node
- Typescript
- Express
- Mongoose
- Vitest
- Date-fns
- Eslint
- Prettier
├── src
│ ├── app
│ │ ├── pet
│ │ └── tutor
│ ├── entities
│ │ ├── pet
│ │ └── tutor
│ └── infra
Before you begin, you will need to have Node.js installed on your machine.
It was used a Docker Mongo container as the database.
$ docker run --name MongoDB --restart unless-stopped -p 27017:27017 -d mongo
# Clone this repository
$ git clone https://github.com/mariaseverino/compass-challenge1.git
# Access the project folder
$ cd compass-challenge1
# Install the dependencies
$ npm install
# Run the application
$ npm run dev
# Run the tests
$ npm run test
# Docs
$ http://localhost:3000/api/docs
Insomnia was used to check the API requests.
Maria Rita de Souza Severino [email protected]