A frontend of the course management system. For backend documentation, visit demoProject2.
This project is aligned with prototype built with Figma. Explore the high-fidelity prototype here.
Live demo is currently deployed on https://eams.homans.world. It will stay online until September 2022. Also, checkout frameworks & libraries used in this project:
- ReactJS - A JavaScript library for building user interfaces
- Styled Components - Visual primitives for the component age
- Axios - Promise based HTTP client for the browser and node.js
Hint: Switch between the themes by clicking the logo in the upper left corner.
In the project directory, you can run:
Install dependencies.
Running this is mandatory before executing any other commands.
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.
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.
The project architecture may not be permanent and is only for reference.
┌─────────────────────────┐ ┌──────────────────────────────────────────────────┐
│ │ │ │
│ USER BROWSER │ │ FRONTEND SERVER: eams.homans.world │
│ │ │ │
│ │ │ ┌────────────┐ ┌─────────────────────────────┐ │
│ 1. Fetch HTML page. ──┼───┼─► port: 443 ├───► │ │
│ │ │ │ │ │ STATIC FILES . . . │ │
│ │ │ │ │ │ │ │
│ 2. Get HTML, js, img ◄─┼───┼─┤ nginx ◄───┤ │ │
│ resources, etc. │ │ └────────────┘ └─────────────────────────────┘ │
│ │ │ │
│ 3. Browser runs js. │ └──────────────────────────────────────────────────┘
│ │
│ │ ┌──────────────────────────────────────────────────┐
│ . . . │ │ │
│ │ │ BACKEND SERVER: api.eams.homans.world │
│ │ │ │
│ │ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ │
│ 4. Fetch data from ──┼───┼─► port: 8443 ├───► port: 8080 ├───► port: 8809 │ │
│ backend server. │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │
│ 5. Render page with ◄─┼───┼─┤ nginx ◄───┤ java ◄───┤ mysql │ │
│ fetched data. │ │ └────────────┘ └────────────┘ └────────────┘ │
│ │ │ │
└─────────────────────────┘ └──────────────────────────────────────────────────┘