This is an online code test with an online javascript code editor. It fully depends on JDoole and react-codemirror. There will be five random questions, and you can submit your answers and will be examined by JDoole API.
// you need node js to start this project
npm install
npm start
You will see a login page, and you can enter the page directly by press login button, because this project hasn't been linked with any other servers.
You will see a left panel with a question list, and a code editor on the right side. Once you click on a question, you can start to modify and test your code.
You can enter a parameter and press test button to see if you can get the result you want.
You can either save the code manually by pressing save button, or you can leave it to auto saving function which can save your code every 20s automatically.
If you are really confidence with your solution, you can press submit button, and the system will provide if your job can pass all of the five test cases or not. Note: because this APP is using free JDoole API, only 200 times everyday to check your work.
You will get a result page.
React.js react-router-dom react-joyride reactour/tour sockjs-client webstomp-client react-codemirror
This APP is an ongoing project, several features to be finished in the future.
- add register user and integrate it with backend service
- add more thorough test cases for questions
- add multi-user features
- fix websocket CORS issue
- support other languages