Skip to content

AayushhGoyal/leetclone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Clone

image

This is a LeetCode clone project built using React, Express.js, Redis, and PostgreSQL, the application offers instant feedback on code execution.

Demo

demo.mp4

Features

  • Problem Set: Includes 15 diverse coding problems for users to solve.
  • Code Execution: Users receive instant feedback on their submitted code.
  • Authentication: Secure authentication via JWT for user safety.
  • Two Server Types: Separate servers handle code execution and authentication/submission.
  • Potential for UI Enhancements: While the focus has been on functionality, there's room for UI improvements in future iterations.

Tech Stack

  • Frontend: React
  • Backend: Express.js
  • Database: PostgreSQL
  • Queueing: Redis
  • Authentication: JWT

Getting Started

  1. Clone the repository.
  2. Install dependencies
    • Run npm install for client, worker and server
  3. Set up the PostgreSQL and Redis databases.
    • If you are using docker
      • Run docker compose up in the server directory
  4. Configure environment variables.
    • Run cp .env.example .env
  5. Run the servers using npm start or yarn start.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for any enhancements or bug fixes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.7%
  • JavaScript 1.6%
  • Other 0.7%