Previously known as IDWTGMEPTMS (I Don't Want To Give My Email and Password To My School)
Website built with react.js to send code snippets to your email as a file
Built for my School Computer Lab.
- Create a new gmail account and enable less secure app access
- Create a new webhook on discord for logs , only needed if
LOGGING_ENABLED
is set to1
- Edit the
.env.sample
fileSENDER
- the email ID of the account you createdPASS
- password of the email ID you created
- Rename
.env.sample
to.env
Note: When deploying to a service such as railway/fly/heroku , you can set the variables in their respective dashboards (don't set the PORT
variable as they are autmatically set by the service). Also comment out Line 1
of index.js
- Install Dependencies and Build Static Files for Frontend
cd frontend
npm install
npm run build
- Copy the
build
folder fromfrontend
to thebackend
folder
cd ..
cd backend
npm install
- You are now ready to run the server
npm start