Online Code Editor
Online code editors feature all the common functionalities of complete IDEs, they run on browsers. Building an online code editor for you after building so many projects is the right step and will ace your skills to the next level, If done well this can be ideal for your next start-up as a free online interviewing platform.
Building an online code editor and compiler seems too complicated, but we can break it down into two pieces.
API running on the backend server, which will take a piece of code and language as input and output the answer after running the code on the server
Frontend code editor, we can choose the language and edit and modify the code here. Then we make a post request to the backend API and show output on the website.
Keeping it simple, in the front end part, you can add a simple dropdown menu for selecting the language of your choice. Whenever a language is selected, the corresponding event listener will be triggered.
20 April 2022