IGNITE-SOLID


Table of Contents

You're sections headers will be used to reference location of destination.


Description

IGNITE-SOLID application was created to implement the concepts of SOLID.

Technologies

  • NODE.js
  • Jest
  • Swagger

Back To The Top


How To Use

-there are a few different use cases, to create a user requires name and email through request body. -this user can be a admin or not, when its created is by default not admin. The route PATCH /:user_id/admin allows to turn a user into admin using the id of this user in the params. -A admin user can list all users through GET / by sending the admin user id in the request headers. -By the route GET /:user_id it shows that user profile.


License

MIT License

Copyright (c) [2021] [Gabriel Matias]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Back To The Top


Author Info

Back To The Top