Skip to content

Api desenvolvida para a manipulação de identidade secreta e de nomes de super-héroi

Notifications You must be signed in to change notification settings

Christian-M-Silva/nameHero-api

Repository files navigation

Name Hero

Table of contents

Overview

The objectives

  • Create an API where you can register, delete, view and update a hero name and secret identity

How to run the project

After downloading the application to your machine, run it in the terminal:

  npm i 
  # or:
  yarn

After successful installation of all packages, run in terminal:

  npm run dev 
  # or:
  yarn dev

Go to the env file and make the necessary settings. By default this project is in mongo, if you change the database, go to APP >> CONFIG >> DATABASE and change the connection to the desired database, don't forget to download the right package, see more in the adonis documentation.

Open http://127.0.0.1:3333/user to view it in your browser. Possible errors caused by changes can be seen in the console.

My process

Built with

  • AdonisJS v4
  • Lucid-mongo v3
  • Lucid ORM
  • CORS

What I learned

I learned how to make a crud using adonisJS, how to use the non-relational mongoDB database, how to improve my documentation reading skills, how to use logic to solve problems and how to encrypt passwords and configure cors with AdonisJS

Author

About

Api desenvolvida para a manipulação de identidade secreta e de nomes de super-héroi

Topics

Resources

Stars

Watchers

Forks