AlgoArena

An Online coding judge to solve DSA problems

About Project

Running the project locally

  • Install postgreSQL if you don't have it already and create a database named algoarena.
  • Clone the repository git clone git@github.com:Subrahmanyam-B/online-judge.git
  • Create an .env files in both online-judge/frontend and online-judge/backend folders.
  • In online-judge/frontend/.env add
VITE_API_URL = 'http://localhost:9000'
  • In online-judge/backend/.env add
DB_URL = 'postgresDB_URL'
REFRESH_TOKEN_SECRET = 'random'
ACCESS_TOKEN_SECRET = 'random'
  • cd backend && npm i && npm run dev
  • cd ../frontend && npm i && npm run dev
  • App should now be running on http://localhost:8080/

Contributing

Fork the repository and create PR if you have done any fixes or improvements. contributing guideines (will be added soon.)