Albirew/mangadex-next
Albirew
/
mangadex-next
Archivé
1
0
Bifurcation 0
A MangaDex re-implementation in Go based on the https://git.dess.ga/Albirew/mangadex leak
Ce dépôt a été archivé le 2024-03-02. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
Aller au fichier
Hayden Young dcf55c913b 0 2021-03-21 21:05:34 +00:00
controllers 0 2021-03-21 21:05:34 +00:00
database chore: repo init 2021-03-21 18:40:39 +00:00
docs docs: add more response documentation 2021-03-21 20:56:12 +00:00
middlewares 0 2021-03-21 21:05:34 +00:00
migrations feat: implement user model + migrations 2021-03-21 19:32:31 +00:00
models implement a metrics endpoint as well as a user get/one endpoint 2021-03-21 20:50:11 +00:00
routers implement a metrics endpoint as well as a user get/one endpoint 2021-03-21 20:50:11 +00:00
.dockerignore chore: repo init 2021-03-21 18:40:39 +00:00
.env.example chore: repo init 2021-03-21 18:40:39 +00:00
.gitignore chore: repo init 2021-03-21 18:40:39 +00:00
Dockerfile chore: repo init 2021-03-21 18:40:39 +00:00
README.md chore: add default user string 2021-03-21 19:34:46 +00:00
docker-compose.yml chore: repo init 2021-03-21 18:40:39 +00:00
go.mod feat: implement user model + migrations 2021-03-21 19:32:31 +00:00
go.sum feat: implement user model + migrations 2021-03-21 19:32:31 +00:00
main.go 0 2021-03-21 21:05:34 +00:00

README.md

mangadex-next

A Go port of the leaked Mangadex source code, as a proof of concept for a better language implementation for the codebase. It also includes some Kubernetes-based DevOps implementation, with GitHub Actions providing automatic updates.

API documentation in the form of an OpenAPI spec can be found in the docs directory.

Default User

The default user has a username of root and a password of root.

Developing

This repository comes with a Docker Compose configuration used to bring up a dev stack and the service components too. To start it, you can simply run...

$ docker-compose up -d

Deployment

The deploy directory contains the Kubernetes manifests and other such files.

Database Connection

The MySQL driver used in this stack requires a differently-formatted connection URI from normal.

DATABASE_URI="<username>:<password>@tcp(<host>:<port>)/<database>"

Migrations

This repository uses the migrate CLI to run its migrations.

See https://github.com/golang-migrate/migrate/tree/master/cmd/migrate for an installation guide.