application

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

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

Go to latest
Published: Jan 10, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Application

The application service holds the clean, filtered and ordered data.

Setting up

You'll need go from version 1.13 and above and a MySQL version 5.7.xx.

Local development

Open the file .env and set the credentials to what you need in the MYSQL_XX variables and just go run server.go.

For seeding dummy data just run go run sandbox.go, after one minute you'll see: {Passed } which means that all the dummy data is loaded.

Using docker

For now, development mode with docker is not ready yet but you can fire up the container.

Querying

Head to postman and fire the query against localhost:3000:

query {
    instruments {
        id
        instrument_name
        instrument_number
    }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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