Skip to content

ZihanDDD/frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the documentation for the Fusion Lab frontend development during the 2023 Winter Semester at ITBE.

Table of Contents

Overview

The project is a website development aimed at showcasing the new bridge design by Donnersbergerbrücke Group A. It provides an interactive platform for users to explore the designs in detail, comment on, and vote for their favorite ones. Additionally, the website features information about the team and its members. It primarily utilizes React JS and IFC.js for its development. This overview section highlights the project's goal to blend architectural innovation with community engagement, leveraging modern web technologies for an enriched user experience.

Quickstart

Setup

Clone this repository:

git clone https://github.com/ITBE-Fusion-Lab-23/frontend.git

For this application to run, the IFC fragment files and the .env file have to be added to the directory. Both can be found in the submission folder under 'A_Submission_Folder/SoftwareDev/Front_End_Data'.

Exchange the repository folder 'frontend/public/rsc/' with the submitted 'rsc/'.

Add the submitted '.env' to the repository root folder 'frontend/'.

Submission folder structure:

├── A_Submission_Folder/
│   ├── SoftwareDev/ 
│       ├── Front_End_Data/
│           ├── rsc/
│           ├── .env
│   ├── ...
└── 

Start

To build the image and run the application, run:

docker compose up --build

The application will run on http://localhost:5000.

Setup

This part describes how to set up the project locally, including installation steps for dependencies.

First start by installing Node.js to get npm (Node Package Manager)

Then install dependencies listed in the project's package.json file

npm install

Usage

This part explains how to use the Fusion Lab Group A's project, including any commands needed to run or build it.

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser. The page will reload when you make changes. You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

Technologies Used

This part lists the main technologies and tools used in the project.

  • HTML5
  • CSS3
  • JavaScript
  • React.js
  • Bootstrap
  • MUI

Folder Structure

This part provides an overview of the project's folder structure to help navigate through different modules and resources.

├── src/
│   ├── components/ 
│   ├── images/
│   ├── App.js
│   └── ...
│
├── public/
│   ├── index.html
│   └── rsc/
│
├── README.md
└── ...
  • src/: This directory contains the source code of the project.

    • components/: Houses React components used throughout the project.
    • images/: Stores images and other multimedia resources used in the project.
    • app.js: The main entry point of the application, where the root component is defined.
    • index.js: The file responsible for rendering the React application into the DOM.
  • public/: Contains public assets and the main HTML file.

    • index.html: The HTML template used as the entry point for the React application.
    • rsc/: Store IFC models used in the project.
  • README.md: This README file provides documentation for the project, including setup instructions, usage guidelines, and other relevant information.

Contributors

Every user who issues a pull request to the project and merges it into the project is a contributor.

We appreciate all contributions to make this project better!

License

This project is licensed under the MIT License.

About

frontend part for the web application of fusion lab in 2023.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 74.2%
  • CSS 22.2%
  • HTML 2.1%
  • Dockerfile 1.5%