This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
- Read the instructions carefully
- Open Visual Studio Code.
- First clone this repository by running "git clone https://github.com/TheCodister/HCMUT-SPSS.git" in the terminal.
- Then run "cd client"
- Then run "npm install".
- Then run "npm run dev". Your browser will display the project, if not, go to http://localhost:5173/ or whatever link the terminal displays.
- Note
-
You must alrealy install Node.js.
-
To implement your work,go to the folder 'Pages'. In the folder you will see all the folders that contain the system's page, each folder will have 2 file, a .css file for styling and an index.jsx folder to build the structure, do your work in 2 of these file.
-
To see the display of your, either click on the button on the homepage to redirect you to there or add these path to your search bar on the browser:"/Print" to go to Print page, "/History" to go to printing log and "/BuyPaper" to go to buyPaper page.
-For a quick tutorial of ReactJS, check this link: https://www.youtube.com/watch?v=j942wKiXFu8&list=PL4cUxeGkcC9gZD-Tvwfod2gaISzfRiP9d.
- Run "cd server"
- Then run "npm install".
- Then run "npm run start"
- Go to http://localhost:3000/