An open API service indexing awesome lists of open source software.

https://github.com/paramt/coderacer


https://github.com/paramt/coderacer

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Coderacer

## Approach

- React/Typescript in the frontend with Tailwind CSS
- AceEditor for code editing
- FastAPI Python server for the backend
- WebSockets for real time communication between frontend and backend

## Features

- recieve feedback for each individual test case (private test values are hidden)
- basic error checking (e.g. rejects more than 2 players per room, can't have same name as opponent)
- responsive design

## Run locally

```
cd frontend
npm install
npm start
```

```
cd backend
pip install -r requirements.txt
python main.py
```

- configure `TOTAL_TIME` in `./backend/config.py`

## Todo if I had more time

- cleanly handle player disconnects (inform other player)
- UI for restarting new game
- dark mode
- dockerize