This project aims to use a simple recommendation algorithm, initially it was made for a challenge and today it counts as a free repository for everyone to contribute.
Follow the steps below to run the project locally in your development environment.
- Ensure you have Node.js installed on your system. You can download it from https://nodejs.org.
Clone the project
git clone https://github.com/juninhokaponne/friendRecomendation.git
Navigate to the project directory
cd friendRecomendation
Install dependencies
npm install
Start the server
npm run dev
To run the tests, execute the following command
npm run test
Back-end: Node, Express, Nodemon, Jest, Supertest
POST /person
Parâmetro | Tipo | Descrição |
---|---|---|
cpf |
number |
Obrigatório |
name |
string |
Obrigatório |
GET /person/:CPF
Parâmetro | Tipo | Descrição |
---|---|---|
cpf |
number |
Obrigatório |
DELETE /clean
POST /relationship
Parâmetro | Tipo | Descrição |
---|---|---|
cpf1 |
number |
Obrigatório |
cpf2 |
number |
Obrigatório |
GET /recommendations/:CPF
Parâmetro | Tipo | Descrição |
---|---|---|
cpf |
number |
Obrigatório |
If you'd like to contribute to this repository over time, please follow these guidelines:
- Fork the project
- Clone the forked repository to your local machine.
- Make your desired changes and improvements.
- Create a new branch for your changes.
- Commit your changes with clear and concise commit messages.
- Push your changes to your forked repository.
- Create a pull request to the original repository, explaining your changes and why they should be merged
Thank you for considering contributing to this project! Your contributions are highly appreciated.