Giter VIP home page Giter VIP logo

leaderboard-site's Introduction

leaderboards.gg

The frontend for the leaderboards.gg website. Backend repo: https://github.com/leaderboardsgg/leaderboard-backend

Discord

  • If you have any questions, comments, concerns that don't fit in GitHub please direct them here!

Contributing

If you'd like to start contributing to the project please check CONTRIBUTING.md first to make sure things go as smoothly as possible!

VSCode Setup

  • Install the recommended extensions

    • These come from /.vscode/extensions.json
    • They will also appear in the extensions tab in the recommended dropdown alongside some automatically suggested extensions from VSCode itself.
  • Make sure if you have done Vue 2 dev in VSCode to disable Vetur extension for the workspace

  • Enable Volar Takeover mode

Build Setup

  • set node version with nvm

    • $ nvm use (You may need to run nvm install first)
  • install pnpm (Performant NPM)

    • $ npm install -g pnpm
  • install dependencies

    • $ pnpm install
  • run nuxt generate

    • $ pnpm generate
  • run and connect to backend

    • Create a copy of .env.example named .env file with the BACKEND_BASE_URL set to the address of the backend.
      1. you can use https://lbgg-backend-dev.fly.dev as is in the .env.example file if you don't want to run the backend locally
      2. You can download the backend project and run it locally here
  • serve with hot reload at localhost:3000

    • $ pnpm dev

Look at the nuxt 3 documentation to learn more.

Other commands you can use

  • build for production and launch server

    • $ pnpm build
    • $ pnpm preview
  • generate static project

    • $ pnpm generate

Checkout the deployment documentation for more information.

Development Environment

If you're using VSCode (which we highly recommend) please install the 6 extensions that we have in our extensions.json file. This in the extensions section then shows you ESLint, Prettier, Vetur, NPM Intellisense, TailwindCSS IntelliSense, PostCSS Language Support, etc. This will allow you to have proper automatic linting, formatting, and more with no extra setup!

Vue File Structure

Check out FILESTRUCTURE.md if you are unsure how things are laid out in this repository.

leaderboard-site's People

Contributors

renovate[bot] avatar erunks avatar buffet-time avatar thetedder avatar zysim avatar byronkweh avatar dalet avatar vankata453 avatar

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.