Giter VIP home page Giter VIP logo

proghours's Introduction

progHours

Update: We're excited to announce that the public beta is just around the corner! πŸŽ‰ We've completely rebuilt progHours from the ground up.

progHours

A gamification-driven platform for competitive programmers.

GitHub Repo stars GitHub issues

What is progHours?

progHours is an effort to combine problem-solving and gamification techniques to create a platform tailored for competitive programmers. This platform offers valuable analytics to foster user engagement and encourages them to compete with one another. It also helps coaches by offering valuable insights through comprehensive analytics to monitor and assess student progress.

Motivation and Goals

This project is experimental and we are working to define and refine our goals. However, we have settled on the following common goals for the project:

  • To provide comprehensive analytics on your problem-solving journey.
  • To use gamification techniques, such as leaderboard, points and rewards, to engage students in competitive programming and compete with others.
  • To provide coaches with valuable insights through comprehensive analytics to monitor and assess student progress.
  • To foster a sense of community and shared accomplishment among students.
  • To provide users with the opportunity to showcase their problem-solving skills to the recruiters.

Online Judge Support

Currently, we provide support for 14 Online Judges. Users can only track problems from supported online judges. We've created this library called @proghours/crawler, which is responsible for collecting problem and submissions data data from supported Online Judges. To learn more about it please explore the details here.

Tech Stack

  • Nx, TypeScript, React, Mantine, TanStack Query, Playwright
  • NestJS, PostgreSQL, Prisma, Redis, BullMQ, Bull Board, Jest
  • Docker, Docker Compose, Pino, Prometheus, Grafana, Loki

Local development

Prerequisites

  • NodeJS
  • Docker

Steps

Step 1: Clone the Repository

Begin by cloning this repository to your machine.

git clone [email protected]:naimulcsx/progHours.git

Step 2: Install the dependencies

Install the dependencies.

npm install

Step 3: Run necessary components

Navigate to the progHours directory and run the components using docker-compose.

cd progHours
docker-compose -f docker-compose.yml up -d

Step 4: Run database migrations

If you are setting up for the first time, you need to run database migrations

npm run db:migrate

Step 5: Launch the project

Launch the project by running the following command.

npm run dev

Running E2E Tests

You can execute the end-to-end (E2E) tests using Playwright by running the following command in your terminal. The tests will run in a headless browser environment, and the test results will be displayed in the console.

nx run client:e2e

If you want to explore, run and debug tests with a time travel experience, you can use the Playwright's UI mode. o open UI mode, run the following command in your terminal:

nx run client:e2e --ui

proghours's People

Contributors

naimulcsx avatar nuruddinshohan83 avatar shahrierqa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

proghours's Issues

Add support for tags and difficulty for problems

For Codeforces, we can parse the tags and difficulty for that particular problem and keep it in our database. But for other online judges, we will suggest some tags, which they can use for the problem. This needs to be done manually, because we don't any way to find out the categories. Moderators can refine those tags later on by removing and updating those.

πŸ“™ Setup PostgreSQL

  • Add Postgres and pgadmin as a service in docker-compose.yml
  • Add /.pg-data used as volumes by postgres and pgadmin
  • Add Sequalize ORM with a basic User Model

Assign a default role of user, when signed up

There are 3 roles, admin, moderator, and user. Admin account is created from database seeds and Admin will have access to a page where he/she can create accounts for the moderator. The default role should be user.

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.