technikinformatyk-backend

command module
v0.0.0-...-55040bd Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

README

Technik Informatyk API

Go Report Card

Why archived

I feel more at ease in JavaScript than in Go, so I decided to rewrite the api to Javascript.

What is it?

Backend to my Technik Informatyk application written in GO language. It is supposed to serve a snapshot of questions and exams to the user. Another functionality is to support multiplayer quizzes using websocket.

Database structure

You can find the commands with the database structure in the dbStruct.sql file.

Env variables

Name What it does
SERVER_PORT Define on which port the application should listen. (Default. 3000)
ENABLE_CDN Specify whether the API should generate a content delivery network folder. You should set the location in your HTTP server e.g. nginx to this folder.
CDN_PATH Folder where content will be generated for cdn.
MYSQL_CONNECTION_PATH A path for the api to connect to the database. user:password@/dbname

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
GET

Jump to

Keyboard shortcuts

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