malt_app

command module
v0.0.0-...-aee05de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

README

The Malt App

This application is based upon QOR.

Install

Clone the repository and cd malt_app.

Use with docker

Build the container

./build.sh

If it doesn't build, remove or rename the './data/business.db' file.

Start the services

./up.sh

Usage

Open the admin interface, log with username : demo and password : demo and try the UI.

User configuration

Open the keycloak interface, log with username : admin and password : admin and manage your users (in the "malt" realm).

Use directly (for coding)

Setup

Golang must me installed and $GOPATH environnment variable set. Exec ./setup.sh.

Start keycloak

./keycloak-up.sh

Start the app

Start the application with ./start-without-docker.sh.

Debug

Use the "Debug Server with Keycloak" VS Code debug configuration.

Code

Alter the 'models.go' file to add your own models and restart the app. They are automatically added to the admin interface. Access them through the api by using the model route + .json (example : http://localhost:8081/admin/employees.json). Use the common REST methods on this endpoint to create, alter and delete entities.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL