Skip to content

This website serves as a platform for users to submit and view code submissions.

Notifications You must be signed in to change notification settings

abhiperfect/test

Repository files navigation

My Website

Welcome to my website! This website serves as a platform for users to submit and view code submissions.

Features

  • 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.

Technologies Used

  • Node.js
  • Express.js
  • PostgreSQL
  • EJS (Embedded JavaScript)
  • Bootstrap
  • Judge0-CE API

Setup Instructions

  1. Clone this repository to your local machine.
  2. Install Node.js and npm if you haven't already.
  3. Navigate to the project directory in your terminal.
  4. Run npm install to install the dependencies.
  5. Set up PostgreSQL and configure the connection string in the .env file.
  6. Run npm start to start the server.
  7. Visit http://localhost:3000 in your web browser to access the website.

Folder Structure

  • 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.

Contributors

  • Chat-gpt

License

About

This website serves as a platform for users to submit and view code submissions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published