Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.
/ adonis4-ticket Public archive

A simple ticketing app built with Adonisjs v4.1

License

Notifications You must be signed in to change notification settings

adwinmbd/adonis4-ticket

Repository files navigation

Adonis Ticketing

Basic ticketing app built with Adonisjs.

Setup

Run the command below to install dependencies

$ npm install

Environment variables

Duplicate .env.example and rename it .env

Migrations

To setup your database. Create a adonis.sqlite file in the database folder.

To setup e-mail functionality you can create a Mailtrap account. From the Mailtrap settings you can copy the port, username and password.

Enter the following in .env file

HOST=127.0.0.1
PORT=99
NODE_ENV=development
APP_NAME=Adomail
APP_URL=http://${HOST}:${PORT}
CACHE_VIEWS=false
APP_KEY=
DB_CONNECTION=sqlite
DB_DATABASE=adonis
HASH_DRIVER=bcrypt
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=

Run this command to generate a key for the app.

$ adonis key:generate

Run the following command to run migration.

$ adonis migration:run

Seed the database:

$ adonis seed

Finally, start the application:

$ adonis serve --dev

To-Do

  • Fix unable to comment bug
  • Fix invalid login exceptions
  • Fix ticket link sent via e-mail
  • Fix navbar extending over viewport
  • Fix variables appearing in admin actions column

⚠ This project is not finished. It is work in progress (WIP)!

About

A simple ticketing app built with Adonisjs v4.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published