/api-solid

Primary LanguageTypeScript

Node api w/ SOLID

This project includes some examples for SOLID api Node with sending Emails.

Single responsability principle

Open Closed principle

Liskov substitution principle

Interface segregation principle

Dependency inversion principle

Installation

  • Clone the repo by using git clone.
  • Run npm install on the cloned directory.
  • Add APIs using the instructions below to suit your needs.

Running the software

  • npm start for simple setups.

Creating users

To create users, simply send a POST to /users with the required fields, like so: name,email,password

http://localhost:3333/users