The backend for a coding platform designed for the cometlabs task according to their specifications along with a minimalistic UI for demonstration
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This project contains the backend for the coding platform. Most of that code is located in the index.js files and the subsequent routes folder.
A frontend for this has also been built as part of the task which serves to demonstrate the functionality of the API.
Postman docs: https://documenter.getpostman.com/view/19472614/2s946e9tCW
Deployed URL: https://coding-plat.onrender.com
Both the frontend and backend are at the same url
There are 2 demonstrations account already in the db:
Admin:
email: [email protected]
password: asd
Participant:
email: [email protected]
password: asd
Although participant accounts with real emails will have to be used to test the email feature
A Demonstration video showing a participant submitting a code challenge
A Demonstration video showing an admin creating a code challenge and subsequently deleting it
For more examples, please refer to the Documentation
To get a local copy up and running follow these simple example steps.
- npm
- Clone the repo
git clone https://github.com/fa993/coding-plat
- Install NPM packages
npm install
- Copy over your copy of .env files with the required credentials in the root directory
-
use the npm startup script
npm start
- API for users to signup and login
- Role based acccess control for middleware
- Questions stored in db and synchronised with sphere-engine
- Admin API: CRUD functions for question
- Admin API: CRUD function for testcases
- Participant API: Ability to select questions and submit problems for those questions.
- Paginated the lists for viewing testcases and questions
- Viewing questions available to both roles
- Mail the participants their own submissions
- Frontend to demo the core features
- JWT whitelist for more secure token management
See the open issues for a full list of proposed features (and known issues).
Ameya Kore - [email protected]
Project Link: https://github.com/fa993/coding-plat
- Best-README-Template: For this amazing README template