A platform where you can solve interesting problems with support of most popular languages like c++ , java and python. Dashboard to track number of problems solved by rating. Piechart to analyse how often you make mistakes.
step 1 : Clone the repository
git clone https://github.com/Developerganesh01/CodeWarsstep 2 : Set up backend server
-
Navigate to the backend directory:
cd backend -
Create a
.envfile:touch .env vim .env
-
Copy the following environment variables into the .env file. Replace <Database_name>,<Database_username>, <Database_password>, and <Secret_key> with your actual values:
- <Database_password> is password of <Database_username>, also make sure given user have read and write access
- <Secret_key> this is secret key used in jsonweb token
PORT=4000 MONGODB_STRING=mongodb+srv://<Database_username>:<Database_password>@cluster0.yc1drxa.mongodb.net/<Database_name>?retryWrites=true w=majority&appName=Cluster0 MONGODB_USER=<Database_username> MONGODB_PASSWORD=<Database_password> SECRET_KEY=<Secret_key> ORIGIN=http://localhost:3000
-
Start backend server:
node server.js
step 3 : Set up frontend server
-
Navigate to the frontend folder:
cd ../frontend -
Install the dependencies:
npm install
-
Start the frontend server:
npm start
-
Login/Signup: Create an account or log in to Codewars
-
Home: Problems are displayed on this page
-
Submission:You can see your subission list along with verdict
-
particularsubmission:To see a particularsubmission
-
Dashboard:Dashboard to see overall performance
-
Run:here is how you test your code
- On home click on any problem and run testcase by coping inputs and paste in testcase section as shown below :⬇️
- Result for inputs will be shown in TestResult, to see hit run button
- Then click on submit to check whether your code is correct or not
-
Submit:Click on submit, then hidden testcases will run and verdicts of testcases are shown in testresult box as shown ⬇️
-
Create:If you are problemsetter then you will be able to see floating button on bottom left corner
-
Add problem and Testcases:Add all details about problem and testcases
- Add detais about problem first
- After adding problem successfully,there is fill problem id button click on it, you will get Pid,then add details about testcase then click on add testcase
For deeply understanding the project architecture and design, refer to High-level Design Document
Check out our project overview video on Loom.ai to see how Codewars works in action: Watch Project Overview
For any questions or support regarding Codewars, please feel free to reach out to us via email at ganeshsm466@gmail.com
Codewars acknowledges and thanks the following open-source projects that contribute to its functionality:









