Skip to content

gftf2011/clean-node-login-api-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Node Login Api





📄 About

This a authentication API developed in pure Vanilla Javascript.

The objective from this project is to show how to create an API with a well-defined and decoupled architecture, using T.D.D. - (Test Driven Development) as a work methodology, building along with the Clean Architecture concept, dividing the layers responsibility !


🛠️ Supported OS

  • Mac OS
  • Linux
  • Windows

🔷 Design Patterns

  • Abstract Factory
  • Factory Method
  • Adapter
  • Composition Root
  • Builder
  • Singleton

📋 Required Tools


🏎️ Running Project

  1. Clone Repository
  $ git clone https://github.com/gftf2011/clean-node-login-api-js.git
  1. Install dependencies
  ################################################################################
  # YARN usage is recommended, or use the "npm install" to install dependencies. #
  ################################################################################
  $ yarn
  1. Use command below to run development environment
  $ yarn docker:dev:run

OBS.: Ensure to install all dependencies in Required Tools


🧪 Running Tests

  $ yarn docker:test:run

🗄️ Running Swagger

  1. Run command below
  $ yarn docs
  1. Access the url - localhost:3334/api-docs

📝 License

This project is under MIT license. See the LICENSE file for more details.


Made with lots of ❤️ by Gabriel Ferrari Tarallo Ferraz