{"id":21846264,"url":"https://github.com/mpc-lab-x/mpc-lab-x-web","last_synced_at":"2025-03-21T16:43:26.835Z","repository":{"id":257132611,"uuid":"857125681","full_name":"MPC-Lab-X/MPC-Lab-X-web","owner":"MPC-Lab-X","description":"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.","archived":false,"fork":false,"pushed_at":"2024-11-19T20:35:11.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-26T12:11:28.781Z","etag":null,"topics":["chemistry","generator","math","mathematics","nodejs","physics","teaching-tool"],"latest_commit_sha":null,"homepage":"https://mpclabx.com","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MPC-Lab-X.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T21:20:11.000Z","updated_at":"2024-11-19T20:33:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9d0322f-c600-445f-8d43-c42f5e3ba723","html_url":"https://github.com/MPC-Lab-X/MPC-Lab-X-web","commit_stats":null,"previous_names":["mpc-lab-x/mpc-lab-x-web"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPC-Lab-X%2FMPC-Lab-X-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPC-Lab-X%2FMPC-Lab-X-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPC-Lab-X%2FMPC-Lab-X-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MPC-Lab-X%2FMPC-Lab-X-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MPC-Lab-X","download_url":"https://codeload.github.com/MPC-Lab-X/MPC-Lab-X-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244830974,"owners_count":20517597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chemistry","generator","math","mathematics","nodejs","physics","teaching-tool"],"created_at":"2024-11-27T23:13:29.056Z","updated_at":"2025-03-21T16:43:26.813Z","avatar_url":"https://github.com/MPC-Lab-X.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPC-Lab-X-web\n\nMPC-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.\n\n## Features\n\n- User-friendly interface for generating and solving questions.\n- Supports multiple subjects, including mathematics, physics, and chemistry.\n- Provides detailed solutions and explanations for each question.\n- Uses Express.js for server-side rendering and API handling.\n- Supports user authentication and session management.\n\n## Prerequisites\n\n- Node.js\n- A Desmos API key (required for graphing)\n- Backend services ([MPC-Lab-X-server](https://github.com/MPC-Lab-X/MPC-Lab-X-server))\n\n\u003e **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](https://github.com/MPC-Lab-X/MPC-Lab-X-server) repository.\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/MPC-Lab-X/MPC-Lab-X-web.git\n```\n\n2. Install the dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file in the root directory and add the following environment variables:\n\n```env\nPORT=3000 # Port number for the server (default: 3000)\nHOST=localhost # Host address for the server (default: localhost)\nDESMOS_API_KEY=dcb31709b452b1cf9dc26972add0fda6 # API key for Desmos API (required for graphing)\n```\n\n4. Start the server:\n\n```bash\nnpm start\n```\n\n## Acknowledgements\n\nWe would like to express our gratitude to the following libraries and tools that have greatly contributed to the success of this project:\n\n- [Express.js](https://expressjs.com/): A fast and minimalist web framework for building Node.js applications.\n- [Tailwind CSS](https://tailwindcss.com/): A utility-first CSS framework for creating custom designs without leaving your HTML.\n- [KaTeX](https://katex.org/): A fast, easy-to-use JavaScript library for rendering LaTeX math equations in web applications.\n- [Desmos API](https://www.desmos.com/api): A powerful API for integrating advanced graphing capabilities into your web applications.\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpc-lab-x%2Fmpc-lab-x-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpc-lab-x%2Fmpc-lab-x-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpc-lab-x%2Fmpc-lab-x-web/lists"}