TMA is a place to archive Minecraft contraptions for technical gameplay.
Download the repository using:
$ git clone https://github.com/samipourquoi/tma.git
$ cd tma
You will need docker
and docker-compose
. The latest versions of docker
include docker-compose
under docker compose
(without the hyphen) by default. Both work.
Create a Discord application here.
In the OAuth2 tab, add a redirect to https://<YOUR DOMAIN>/api/auth/discord/callback
.
Create a file in config/config.yml
and fill it in with the following:
auth:
clientID: "<client id>"
clientSecret: "<client secret>"
callbackURL: "<callback url>"
Get the docker images using:
$ docker-compose build --parallel
$ # Alternatively, you can use prebuilt images.
$ docker-compose pull
Then, start it with:
$ docker-compose up -d
We use Typescript throughout the entire project.
On the backend, we use Express with Typera for type safeness.
On the frontend, we use React with Next. We also use React Query for datafetching. For styling, we use TailwindCSS with very little SCSS.
Most of them are very easy to learn just by reading the code.
If you want to help, contact me on discord: samipourquoi#9267
! 😀