ahnert37 / solidapi

Simple and Basic S.O.L.I.D. API with NodeJS, TypeScript and Express.

Repository from Github https://github.comahnert37/solidapiRepository from Github https://github.comahnert37/solidapi

Solid API

About

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.

Changes

  • 'uuidv4' lib to 'uuid' because its deprecated.
  • Using my credentials to send email test with Mailtrap.

How can i use

$ git clone https://github.com/geraldoahnert/solidapi

$ cd solidapi && yarn install

# Create your .env with your mailtrap credentials.

$ yarn start

Send a POST request to http://localhost:3333/users.

{
  "name": "Jhon",
  "email": "jhon@email.com",
  "password": "123456"
}

About

Simple and Basic S.O.L.I.D. API with NodeJS, TypeScript and Express.


Languages

Language:TypeScript 99.3%Language:Shell 0.7%