Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
/ MPC-Lab-X-web Public archive

MPC-Lab-X-web is the frontend component of the MPC-Lab-X project, built using Express. It provides a user interface for generating and solving questions in mathematics, physics, and chemistry. This application is designed to interact with the backend services and deliver solutions through a straightforward web interface.

License

Notifications You must be signed in to change notification settings

MPC-Lab-X/MPC-Lab-X-web

Repository files navigation

MPC-Lab-X-web

MPC-Lab-X-web is the frontend component of the MPC-Lab-X project, built using Express. It provides a user interface for generating and solving questions in mathematics, physics, and chemistry. This application is designed to interact with the backend services and deliver solutions through a straightforward web interface.

Features

  • User-friendly interface for generating and solving questions.
  • Supports multiple subjects, including mathematics, physics, and chemistry.
  • Provides detailed solutions and explanations for each question.
  • Uses Express.js for server-side rendering and API handling.
  • Supports user authentication and session management.

Prerequisites

  • Node.js
  • A Desmos API key (required for graphing)
  • Backend services (MPC-Lab-X-server)

Note: This project is part of the MPC-Lab-X project. To use this application, you must have the backend services up and running. And configure the backend services URL in the /public/js/app.js file (default: /api). For more information, refer to the MPC-Lab-X-server repository.

Installation

  1. Clone the repository:

    git clone https://github.com/MPC-Lab-X/MPC-Lab-X-web.git
  2. Install the dependencies:

    npm install
  3. Create a .env file in the root directory and add the following environment variables:

    PORT=3000 # Port number for the server (default: 3000)
    HOST=localhost # Host address for the server (default: localhost)
    DESMOS_API_KEY=dcb31709b452b1cf9dc26972add0fda6 # API key for Desmos API (required for graphing)
  4. Start the server:

    npm start

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

MPC-Lab-X-web is the frontend component of the MPC-Lab-X project, built using Express. It provides a user interface for generating and solving questions in mathematics, physics, and chemistry. This application is designed to interact with the backend services and deliver solutions through a straightforward web interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •