This is a web app that allows students to pick their projects for HIT401 Capstone Project, and for supervisors to manage their projects and students' requests. The project is built using React + PHP.
Clone down this repository. You will need node
and npm
installed globally on your machine.
Navigate to the client
directory
Then intall the dependencies:
npm install
To Run the client:
npm run dev
The client is now running locally on port 5173
, open your browser and navigate to localhost:5173
to access it.
To run the server, you will need PHP
and XAMPP
installed on your machine.
Start XAMPP, config the Apache server by opening "config" and select "Apache(httpd.conf)". Navigate to line 253 and edit drectory
<Directory [server directory]>
Then, save and restart the Apache server.
Then in XAMPP, start the MySQL database and create the test database by executing file "hit401.sql"
Your test server should be running on https://localhost
Refresh your Client site and now you should be able to see and manipulate your server data. 👌
- UI Library: Chakra UI
- State management: React Query(server) and Zustand(client global)
- Routing: React Router
- Data fetching: Axios
- Drag and Drop: React DnD
- emailjs:emailjs (npm install @emailjs/browser)
- md5:md5