This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.
- Bodyparser
- Session
- Authentication
- Web security middleware
- CORS
- Edge template engine
- Lucid ORM
- Migrations and seeds
Create the .env file
HOST=0.0.0.0
PORT=3000
NODE_ENV=development
APP_URL=http://${HOST}:${PORT}
CACHE_VIEWS=false
APP_KEY=
DB_CONNECTION=mysql
DB_HOST=jobpostr-mysql
DB_PORT=3306
DB_USER=jobpostr
DB_PASSWORD=jobpostr
DB_DATABASE=jobpostr
SESSION_DRIVER=cookie
HASH_DRIVER=bcrypt
Execute docker compose
> docker-compose up -d