flashpoint-submission-system

module
v0.0.0-...-7f3aa20 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT

README

flashpoint-submission-system

it's a thing, and it's pretty WIP

it will be a submission management system for https://flashpointarchive.org/ or something

drawing

How to run this thing

  • it's using discord for user auth, so you need a discord app with oauth config
  • set up a discord bot to read user roles (FYI roles are hardcoded for Flashpoint discord server), roles are used for permission inside the system
  • set up a discord bot to post notifications, can be the same bot as the previous one
  • start a mysql instance, make db will do the work for you if you're a fan docker-compose
  • start a curation validator server https://github.com/FlashpointProject/Curation-Validation-Bot (make command available in this repo)
  • start an archive indexer if you want to upload stuff to flashfreeze https://github.com/Dri0m/recursive-archive-indexer (make command available in this repo)
  • fill in all the stuff in .env (which is complex and needs more description here, yea)
  • start the thing using go run ./main/*.go

TODO stuff

  • tests are definitely broken and need some love
  • redundant code and code weirdness is present to remind you that you shouldn't code like this

it looks something like this

submit page

and this

submissions page

and this

submission page

and also this

profile page

Directories

Path Synopsis
Extremely barebones server to demonstrate OAuth 2.0 flow with Discord Uses native net/http to be dependency-less and easy to run.
Extremely barebones server to demonstrate OAuth 2.0 flow with Discord Uses native net/http to be dependency-less and easy to run.

Jump to

Keyboard shortcuts

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