christopher-ga / codewithme

https://codewithme-public.vercel.app
0 stars 0 forks source link

Code with me

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

Running locally:

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.

  1. Download or clone the repository to your local machine

  2. Navigate to the project through your terminal

  3. Install the required npm packages using node

    npm install
  4. Start the application

    npm run dev
  5. Navigate to servers/api-server and start the API server

    node server.cjs
  6. Navigate to servers/yjs-server and start the Yjs server

    node serverYjs.cjs
  7. In your browser, navigate to http://localhost:5173/ to access the application.