Code with me is a collaborative online code editor that lets you create, save, and share code editing documents.
A live version can be accessed here
The app requires a Judge0 API key, and the use of an SQL database. An .env template and SQL database schema can be found in the src folder.
If you would like to be able to save and and access created pages, a Clerk API key is also required.
Before following these instructions, make sure you have node.js installed on your machine and have filled out the template .env file.
- Download or clone the repository to your local machine
- Navigate to the project through your terminal
- Install the required npm packages using node
npm install
- Start the application
npm run dev
- Navigate to servers/api-server and start the API server
node server.cjs
- Navigate to servers/yjs-server and start the Yjs server
node serverYjs.cjs
- In your browser, navigate to http://localhost:5173/ to access the application.