Skip to content

The project proposed in this challenge was to create a user management API Rest using the concepts of clean code, clean architecture and SOLID (SRP, LSP and DIP). It also required all tests to complete successfully and API documentation to be created in Swagger. This project is a template for a challenge proposed in the NodeJS track of IGNITE (R…

Notifications You must be signed in to change notification settings

deywersonp/desafio02-trilha-NodeJS-introducao-ao-solid

Repository files navigation

Introduction to Solid

Project   |    Technologies   |    Services Used   |    Getting Started   |    How To Use   |    Features   |    License

PRs welcome! License


💻 Project

The project proposed in this challenge was to create a user management API Rest using the concepts of clean code, clean architecture and SOLID (SRP, LSP and DIP). It also required all tests to complete successfully and API documentation to be created in Swagger.

This project is a template for a challenge proposed in the NodeJS track of IGNITE (Rocketseat Career Acceleration Program).

The tests were developed by Rocketseat.



🚀 Technologies

This project was developed using these techs:


👨‍🔧 Services Used


🎮 Getting Started

If you want run this code, you can start cloning the repository using HTTP or SSH key.

  • Open your git

  • Type git clone

  • Insert the HTTP or SSH key (on windows, shift + insert to paste on gitBash)

  • You can find this HTTP or SSH Key by clicking on Code on the top right in this repository image

  • Once cloned you can open the project in your IDE and enter the codes below in the IDE terminal

yarn To add the dependencies on the project.

yarn dev Runs the app in the development mode.
Open http://localhost:3333 to view it in the browser.

You can use Insomnia (or other similar tool) to test the application's routes.


Dependencies

Dev Dependencies


📌 How to Use

1 - Open the aplication on your IDE

2 - Run yarn dev on your IDE terminal

3 - Use Insomnia to test the application's routes or run yarn test to test application routes with JEST & SuperTest

4 - You can also access the route containing the project documentation at http://localhost:3333/api-docs/


🕵 Features

The main features of the application are:

  • Create a user
  • Show user profile
  • Turn user on admin user
  • List all users (only available if user is admin)

📝 License

This project is under MIT license.


In case of sensitive bugs like security vulnerabilities, please contact deywerson.pereira@gmail.com directly instead of using issue tracker. We value your effort to improve the security and privacy of this project!



Please follow on github and join us! Thanks for visiting me and good coding!

Made with ♥ by Deywerson Pereira

About

The project proposed in this challenge was to create a user management API Rest using the concepts of clean code, clean architecture and SOLID (SRP, LSP and DIP). It also required all tests to complete successfully and API documentation to be created in Swagger. This project is a template for a challenge proposed in the NodeJS track of IGNITE (R…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published