Welcome to my website! This website serves as a platform for users to submit and view code submissions.
- Users can submit their source code along with their preferred code language.
- Users can view all submissions made on the platform.
- Code submissions are displayed with details such as username, code language, input, output, and timestamp.
- Users can view detailed messages associated with each submission.
- Node.js
- Express.js
- PostgreSQL
- EJS (Embedded JavaScript)
- Bootstrap
- Judge0-CE API
- Clone this repository to your local machine.
- Install Node.js and npm if you haven't already.
- Navigate to the project directory in your terminal.
- Run
npm install
to install the dependencies. - Set up PostgreSQL and configure the connection string in the
.env
file. - Run
npm start
to start the server. - Visit
http://localhost:3000
in your web browser to access the website.
public
: Contains static assets such as CSS, JavaScript, and images.views
: Contains EJS templates for rendering HTML pages.routes
: Contains route handling logic.controllers
: Contains controller functions for handling requests.middlewares
: Contains custom middleware functions.utils
: Contains utility functions.app.js
: Entry point of the application.
- Chat-gpt