- Create an API where you can register, delete, view and update a hero name and secret identity
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.
- AdonisJS v4
- Lucid-mongo v3
- Lucid ORM
- CORS
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
- Name - Christian
- Instagram - @apredizti
- Linkedin - @Christian Silva
- GitHub - @Christian Silva