Git Product home page Git Product logo

aidensv / geekscore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidgolodetsky/geekscore

0.0 1.0 0.0 27.32 MB

A PWA for board games fans. It allows you to store your games, create teams and collect statistics. Build with MEVN stack, using Vue.js 2 and Vuetify.

Home Page: https://geekscore.herokuapp.com

License: MIT License

Dockerfile 0.75% JavaScript 35.91% HTML 3.66% Vue 53.58% Shell 0.76% SCSS 2.60% TypeScript 2.75%

geekscore's Introduction

Geek Score

A PWA for board games fans. It allows you to store your games, creates teams, and collect statistics.

Check out the first stable version: https://geekscore.netlify.app

This is the second version of the app, build with MEVN stack, vue-composition-api, and Typescript. The first one was using Firebase as a backend. (If you want to learn more about the project's path here is an article on my blog)

For contributors:

See the Planning board

Requirements

  • docker

OR

  • node (preferably >=14)
  • npm

How to contribute?

  1. If you're about to work on a particular issue, ask for an assignment to notify other developers that you're working on that
  2. Fork the repo
  3. Clone your fork to the local machine
  4. Create your branch, and a pull request

How to start up the project?

If you're using docer:

  1. Run cd GeekScore-2/docker
  2. Run docker-compose up --build
  3. Since you already have an Image of the app. Next time you want to start it just run docker-compose up

OR

  1. Run npm i inside the root folder
  2. Start Backend: run npm run serve
  3. Go to client folder cd client and run npm i
  4. Start Frontend: run npm run serve in the client folder

Project structure

Main logical entities are Games, Teams, Rounds, and Users.

Backend

Backend is written in Node.js (Express) and it's using MongoDB as a database. Index file is server.js in the root folder. Here all routes are applied. Routes could be found in the routes/api folder. They are divided into 4 logical entities. Every route has its Mongoose schema. All Mongoose models could be found in the models folder. Firebase is used for authentication.

Frontend

Frontend is written on Vue.js (^2.6), Vuetify as a UI library, and Vuex as a state management library. For routing, we're using Vue Router and Vue Test Utils (based on Jest) for unit tests. Frontend index point is main.js. Pages could be found in views folder, components are in components folder. For structuring components, we're sticking to official Vue styleguide. Vuex store is the brain of the app. All API calls are going through VUEX. It's also divided into main 4 entities. All manipulations with the store must go through actions, which will call respective mutations. More info about Vuex actions and mutations.

geekscore's People

Watchers

 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.