/cotrack

Project and Team based Ticket-System

Primary LanguageCSSMIT LicenseMIT

CoTrack Ticket-System

Project and Team based Ticket-System using AdonisJs 4.1

Version

0.9 BETA

Languages

  • German
  • English (not completed yet)

Working demo

coming soon...

Used technologies

Usage

Install dependencies

npm install

Database setup

Edit your .env file to include the correct DB credentials.

E-Mail setup

Edit your .env file to include the correct SMTP credentials.

Migrations

Run the following command to run startup migrations.

adonis migration:run

Seeding Admin-User

Run the following command to run startup migrations.

adonis seed

Packing Assets

./node_modules/.bin/webpack

Run Server (nodemon suggested)

adonis serve --dev

or

nodemon server.js

Login with Admin-User

  • Username: admin
  • Password: Nkz8289TMU

API

There can be created Tickets from other Applications. As identifiers are used 3 fields:

E-Mail

The JSON key email will be checked and assigned against a active user in the cotrack database.

Project

The JSON key project will be checked and assigned against a existing and active project in the database. The request value will be matched with the database field id in the projects-table.

Token

The JSON key token will be checked against the deposited token in .env config file.

Request format

{
	"token": "xxxxxxxx",
	"subject": "The subject of the ticket",
	"description": "This is the description of the Ticket",
	"priority": "Normal or Hoch or Dringend",
	"email": "user@domain.com",
	"project": "xxx"
}

License

MIT License

Copyright (c) 2019 Omar De-Giuli [Custom Websolutions]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.