Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eimer-archive/eimerarchive-backend
The website for eimerarchive.org
https://github.com/eimer-archive/eimerarchive-backend
archive bukkit minecraft server software
Last synced: about 6 hours ago
JSON representation
The website for eimerarchive.org
- Host: GitHub
- URL: https://github.com/eimer-archive/eimerarchive-backend
- Owner: Eimer-Archive
- License: mit
- Created: 2022-05-31T01:33:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T08:22:28.000Z (over 1 year ago)
- Last Synced: 2023-06-18T14:55:51.487Z (over 1 year ago)
- Topics: archive, bukkit, minecraft, server, software
- Language: Java
- Homepage: https://eimerarchive.org
- Size: 331 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Eimer Archive Backend
[![Discord Server](https://img.shields.io/discord/979589333524820018?color=7289da&label=DISCORD&style=flat-square&logo=appveyor)](https://discord.gg/k8RcgxpnBS)
Eimer Archive is a website that hosts files as an archive, it focuses mainly on Minecraft server software but accepts other files. The backend is made with Springboot.
## Usage
### Requirements
- Java 17
- MySQL/MariaDB database### Setup
Once you create a database for this to connect to you need to run these commands to get it setup
```mysql
INSERT INTO roles(name) VALUES('ROLE_USER');
INSERT INTO roles(name) VALUES('ROLE_ARCHIVER');
INSERT INTO roles(name) VALUES('ROLE_MODERATOR');
INSERT INTO roles(name) VALUES('ROLE_ADMIN');
```To add the admin role to an account run this where `` is the accounts id
```mysql
insert into account_roles (account_id, role_id) VALUES (, 4);
```