GithubHelp home page GithubHelp logo

makyo / beatsaver-main Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beatmaps-io/beatsaver-main

0.0 0.0 0.0 1.22 MB

License: GNU General Public License v3.0

JavaScript 0.06% Kotlin 92.16% HTML 0.01% PLpgSQL 1.58% SCSS 6.20%

beatsaver-main's Introduction

Beatsaver

Build Status

The main codebase for the beatsaver website.

Contains both backend code for uploading and managing maps, the beatsaver API and a reactJS frontend all written in Kotlin with shared code.

Local setup

Prerequisites

Lets go

  • Run docker-compose up -d to start the local database
  • Open the project in IntelliJ IDEA
  • Run the run gradle task
  • Navigate to http://localhost:8080
  • Login with one of the test users
    • admin:admin
    • test:test

Extra environment variables

  • ZIP_DIR Directory zips will get served from
  • COVER_DIR Directory cover images will get served from
  • AUDIO_DIR Directory preview audio will get served from
  • AVATAR_DIR Directory avatars will get served from

Zips, covers and audio files must be placed in a subfolder that is named with their first character

e.g. cb9f1581ff6c09130c991db8823c5953c660688f.zip must be in $ZIP_DIR/c/cb9f1581ff6c09130c991db8823c5953c660688f.zip

Code Style

This project uses ktlint which provides fairly basic style rules.

You can run the ktlintFormat gradle task to automatically apply most of them or the ktlintCheck task to get a list of linting errors.

beatsaver-main's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.