An open API service indexing awesome lists of open source software.

https://github.com/mariaseverino/compass-challenge1


https://github.com/mariaseverino/compass-challenge1

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Challenge #01



GitHub top language
GitHub last commit



Description
Technologies
Architecture
How to run the application

## ✨ Description

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.

## ⚡️ Technologies

- Node
- Typescript
- Express
- Mongoose
- Vitest
- Date-fns
- Eslint
- Prettier

## 🗃️ Architecture

```
├── src
│ ├── app
│ │ ├── pet
│ │ └── tutor
│ ├── entities
│ │ ├── pet
│ │ └── tutor
│ └── infra
```

## 🤔 How to run the application

### 🚨 Prerequisite

Before you begin, you will need to have Node.js installed on your machine.

It was used a Docker Mongo container as the database.

```bash
$ docker run --name MongoDB --restart unless-stopped -p 27017:27017 -d mongo
```

```bash
# 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
```

### 🔖 Using the API

Insomnia was used to check the API requests.

Maria Rita de Souza Severino [email protected]