codepad is an online ide based on react app for instant coding anywhere anytime without installing anything.
-
Open your terminal.
-
Change the current working directory to the location where you want to clone the repository.
-
Run the following command to clone the repository:
git clone https://github.com/nmnarora600/codepad.git
After cloning the repo run run following commands to install required node modules.
- check in to codepad
cd codepad
- install node modules for frontend
npm install
To get news from this web app you must get an api key from HackerEarth
After getting your Client api from HackerEarth and paste it in the .env file of root folder.
To start using the app you must create an environment (.env) file in root of codepad folder and set following values.
PORT=DESIRED-PORT-NUMBER
REACT_APP_CODE="ENTER-YOUR-CLIENT-KEY-HERE"
make sure to not erase " " marks as api key must be sent as a string. I am using PORT=3002, and WDS_SOCKET-PORT 3003.
After following above steps just open the frontend folder in cmd, powershell etc.
cd Path/to/the/repo/codepad
- Run the following command to start app
npm start
- Open your Browser and go to the following link to see your app
http://localhost:<YOUR-LISTED-PORT>/
- This application is for educational purposes only and should not be used for commercial purposes. The information, code, and data provided are meant as educational examples and should not be integrated into any commercial application.
-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
-
Please make sure to update tests as appropriate.