Learn adonisjs from oficial documentation.
- This is the boilerplate for the adonisjs project with swagger implemented
- Authentication
- Authorization
- Swagger
- Logger
- Web Socket
- Cron jobs
- Redis
Plugin | Version |
---|---|
Node | ^20.11.1 |
npm install
node ace migration:run
node ace db:seed
npm run dev
npm run build
- Make sure you have the updated .env file for production
- Run the following command:
npm run deploy
- It performs the following steps:
- Generate a build for production
- Copy .env file to build folder
- Start the server using pm2 tool.
If you use another tool, replace pm2 with the tool name in scripts section of the package.json file.
HAPPY CODING 👍 💻