gin-playground

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

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 6 Imported by: 0

README

File Upload Server

This is a simple file upload server using the gin-gonic web framework, gorm ORM, and sqlite. There is a simple UI using HTML templates if you would like to interact with the app in the browser.

The latest commit is also live on Render

Setup

This project uses a config.yaml file for environment variables. To get started quickly, you can copy and paste the contents of config-example.yaml into a new config.yaml file.

Run the project

To get this project up and running, make sure Go is installed on your machine and then run:

`go run main.go`

Alternatively, you can run air if it is installed on your machine.

Once the application is running, visit the home page.

Gin supports Sentry out of the box and is used in this project. You can add your Sentry DSN to the config.yaml file, or set SENTRY_KEY to an empty string.

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