Giter Club home page Giter Club logo

task's Introduction

Code Submissions

Description

This project is a full-stack web application built with Express.js, MySQL, Redis, React, and Next UI. It uses Express.js for the backend, MySQL for the database, Redis for caching, React for the frontend, and Next UI for the UI library. It also executes code online using Judge0 api although impletention is partial.

Tech Stack

  • Backend: Express.js

  • Database: MySQL

  • Caching: Redis

  • Frontend: React

  • UI Library: Next UI

  • Online Code Exection: Judge0

Environment Variables

The project uses the following environment variables for backend:

  • DB_HOST: The host of the MySQL database.

  • DB_USER: The user for the MySQL database.

  • DB_PASSWORD: The password for the MySQL database.

  • DB_NAME: The name of the MySQL database.

  • DB_PORT: The port of the MySQL server.

  • REDIS_URL: Url provided by redis provider(Upstash).

  • FRONTEND_URL: Frontend url for cors.

  • JUDGE_KEY: Key provided by RapidApi for Judge0.

The project uses the following environment variables for frontend:

  • BACKEND_URL: Backend url for frontend.

Installation

  1. Clone the repository:

    git clone https://github.com/sidd=77/task.git

  2. Install the dependencies:

    for frontend : cd frontend npm install

    for backend : cd backend npm install

  3. Create a .env file in the root of the frontend and backend folders of project and set the environment variables.

  4. Start the backend server:

    node index.js

  5. Start the frontend server:

    npm run dev

task's People

Contributors

sidd-77 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.