Solid API from RocketSeat YouTube content. Reference.
On this app you can learn about S.O.L.I.D. principles.
- Single Responsibility Principle
- Liskov Substitution Principle
- Dependency Inversion Principle
Disconnection of the infra layer from the functional layer.
- 'uuidv4' lib to 'uuid' because its deprecated.
- Using my credentials to send email test with Mailtrap.
$ git clone https://github.com/geraldoahnert/solidapi
$ cd solidapi && yarn install
# Create your .env with your mailtrap credentials.
$ yarn startSend a POST request to http://localhost:3333/users.
{
"name": "Jhon",
"email": "jhon@email.com",
"password": "123456"
}