I. Check it out here!
We also published an article on building a real-time collaborative code editor. Check it out here!
-
Make sure you have Node.js and npm installed: https://nodejs.org/en/ (npm comes with Node.js)
-
Go to
.\code-spot-client\src\environments\environment.ts
and changeapiUrl
tohttp://localhost:5000/api/
-
Open a terminal to install server dependencies and start server
cd ./server
npm install
npm run start
- Open another terminal to install client dependencies and start client
cd ./code-spot-client
npm install
ng serve --open
Navigate to http://localhost:4200/ (If it has not been done automatically). The app will automatically reload if you change any of the source files.
Note: Email sending and Twilio TURN server only work in production server
Remember to rebuild the frontend if any frontend changes were made
cd frontend
npm run build