- Clone the repository:
git clone https://github.com/Victor-Elkins/Volunteer-Site-Project.git
- Navigate to the project's directory:
cd Volunteer-Site-Project
- Navigate to backend and install any dependencies:
cd backend
npm install
- Start the backend server:
node server
- Open a new command prompt by clicking the '+' icon, or a new terminal window.:
- Navigate to the frontend directory in the new terminal:
cd Volunteer-Site-Project/frontend
- Install any dependencies and start the frontend server:
npm install
npm run dev
- Either left click on the link output in the terminal, or navigate to http://localhost:5173/ in your local browser:
Sometimes, depending on someone's environment, running npm install
will throw some errors or warnings. Running the following command a few times should sort the issue out:
npm audit fix
# If the regular fix doesn't work, add the force flag.
npm audit fix --force