This is a LeetCode clone project built using React, Express.js, Redis, and PostgreSQL, the application offers instant feedback on code execution.
demo.mp4
- 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.
- Frontend: React
- Backend: Express.js
- Database: PostgreSQL
- Queueing: Redis
- Authentication: JWT
- Clone the repository.
- Install dependencies
- Run
npm install
for client, worker and server
- Run
- Set up the PostgreSQL and Redis databases.
- If you are using docker
- Run
docker compose up
in the server directory
- Run
- If you are using docker
- Configure environment variables.
- Run
cp .env.example .env
- Run
- Run the servers using
npm start
oryarn start
.
Contributions are welcome! Feel free to open issues or submit pull requests for any enhancements or bug fixes.