About •
Supported OS •
Design Patterns •
Required Tools •
Running Project •
Running Tests •
Running Swagger •
License
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 !
- Mac OS
- Linux
- Windows
- Abstract Factory
- Factory Method
- Adapter
- Composition Root
- Builder
- Singleton
- Node - https://nodejs.org/
- Node version: 16.x.x
- npm version: 8.x.x
- Yarn - https://yarnpkg.com/
- Yarn version: 1.22.5
- Snyk - https://snyk.io/
- Husky - https://typicode.github.io/
- Docker - https://www.docker.com/
- Clone Repository
$ git clone https://github.com/gftf2011/clean-node-login-api-js.git
- Install dependencies
################################################################################
# YARN usage is recommended, or use the "npm install" to install dependencies. #
################################################################################
$ yarn
- Use command below to run development environment
$ yarn docker:dev:run
OBS.: Ensure to install all dependencies in Required Tools
$ yarn docker:test:run
- Run command below
$ yarn docs
- Access the url - localhost:3334/api-docs
This project is under MIT license. See the LICENSE file for more details.
Made with lots of ❤️ by Gabriel Ferrari Tarallo Ferraz