The app was developed as part of BUES' Student Scientific Communication Sessions 2019 organized by The Faculty of Economic Cybernetics, Statistics and Informatics and won the first place
The app is built using Node.js/Express, Socket.io & Angular and supports C and C++, but can be easily extended to multiple languages due to its modular approach
Besides a configurable text editor based on Ace, pende features a minimal file manager & basic debug support
-
Development
- Run
npm install
in both directories (back, front) - Prepare a MongoDB instance running on default port (27017)
- Update the values stored in
back/.env
- PROD=run the app in dev(0) or prod(1) mode
- PORT=the port where the application will be exposed on
- MONGO_HOST=
localhost
- MONGO_DB=the name of the MongoDB database
- Fill the required front-end variables
- BASE_URL =
http://localhost:THE_PORT_FROM_.ENV_FILE
- GOOGLE_CLIENT_ID = your Google auth client key
- BASE_URL =
- Start the back-end:
npm start
in back - Start the front-end:
npm start
in front
- Run
-
Production
- Prepare a MongoDB instance running on default port (27017)
- Create a
.env
file and fill it with the following values- PROD=1
- MONGO_HOST=database_host (defaults to
host.docker.internal
otherwise) - MONGO_DB=database_name (defaults to
pende
otherwise) - GOOGLE_CLIENT_ID=google_client_id
- Run the Docker container
docker run -p 8080:8080 --env-file ./.env --name pende axbg/pende