Skip to content

aleksilassila/buildshelf

Repository files navigation

Buildshelf

Work-in-progress website that allows users to upload and share their creations in a popular block game called Minecraft. To upload builds, users can log in with a microsoft account that has a minecraft account linked to it.

Frontend has been built with Next.js and backend with Express.js and Sequelize. Postgresql is used as the database, and files are stored using Multer.

Building

The project runs via Docker. Get started with docker-compose up --build

To seed the database with test data, run npm run seed inside backend/

To deploy the website to production, run docker-compose -f docker-compose-prod.yml up --build

.env

Create a .env file in the root directory of the project. Docker will use this file to set environment variables. To get Microsoft authentication working, you need to create an app registration in Azure Portal.

DB_URL=postgres://post:post@db/post
BACKEND_ENDPOINT=http://localhost:9000/api
FRONTEND_ENDPOINT=http://localhost:3000
JWT_SECRET=yoursecret

MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=

Screenshots

Frontpage

Screenshot 1

Builds page

Screenshot 2

Upload page

Screenshot 3

Profile page

Screenshot 4

About

A website for sharing and browsing builds for a popular block game called Minecraft.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published