FireCode is a clone of LeetCode, a platform for developers to practice coding problems and improve their skills. This project was created as a full-stack project (my first full-stack project) using Express, MongoDB, Mongoose, TypeScript,TypeScript React (TSX), CSS3, and Tailwind CSS.
You can see the live demo of website at https://fire-code.vercel.app.
git clone https://github.com/ManiGhazaee/FireCode.git
cd FireCode/server
npm install
cd ../client
npm install
client
directory:npm start
Before starting the server, make sure to configure the following environment variables in the server/.env
file:
MONGODB_URI
: Set this variable to your MongoDB connection string.ACCESS_TOKEN_SECRET
: Set this variable to a secret key for JWT access tokens.To use your own API, open the client/src/App.tsx
file and find the API_URL
constant. Update its value to match the URL of your deployed server (http://localhost:80
).
server
directory:npm start
Contributions are welcome! If you find a bug or have a feature request, please create an issue on GitHub. If you would like to contribute code, please fork the repository and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was inspired by LeetCode. Thanks to the creators of Express, MongoDB, Mongoose, TypeScript, and React.