GitXplorerGitXplorer
H

crud-adonis-4

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
c262c5bde000b80b076ae5ee69b8750e3522fde2

update docs

HHallexCosta committed 3 years ago
Unverified
bdece5f3ab79743a5ed5045b8b517628dadb0722

add docker-compose.yml

HHallexCosta committed 3 years ago
Unverified
0107b640ab084ec344ec7d567c23c572fc909c0f

add Dockerfile

HHallexCosta committed 3 years ago
Unverified
c162225384f4dda056e4152b3ee07ee7649e90ba

add .env.testing

HHallexCosta committed 3 years ago
Unverified
d089a0e2f2a8d2faf227e3e0762a1f7e16b3a301

add .env-elephant-pg

HHallexCosta committed 3 years ago
Unverified
b7796db9198b2af7933b2a24094f9bca31e132e6

add .env-sqlite

HHallexCosta committed 3 years ago

README

The README file for this repository.

Adonis fullstack application

This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.

  1. Bodyparser
  2. Session
  3. Authentication
  4. Web security middleware
  5. CORS
  6. Edge template engine
  7. Lucid ORM
  8. Postgre Database
  9. Migrations and seeds

Setup

Run the following command to install dependencies.

$ yarn

Run the following command to configure postgre database

$ cp .env-elephant-pg .env

Migrations

Run the following command to run startup migrations.

adonis migration:run

Docker and Docker Compose

docker

# build
$ docker build -d <container-name> <directory-from-dockerfile>

# run
$ docker run -t  3333:3333 <container-name>

# Example: docker run -t  3333:3333 crud-adonis

docker-compose:

$ docker compose up