UTDesign Project - An online tutoring scheduler application.
Prerequisites: Install NodeJS on your computer if you don't already have it. Download it here. The LTS version will be sufficient. NPM will be automatically installed.
- Extract the file
source_code.zip
- Open the folder
source_code
- Open up a terminal in that folder.
- Run the command
npm run local
. This will install all the required dependencies, build the application, and start the server. This may take a few moments depending on your internet connection speed. - Navigate to
http://localhost:5000
in your preferred web browser.
Prerequisites: Install NodeJS on your computer if you don't already have it. Download it here. The LTS version will be sufficient. NPM will be automatically installed.
Note: Technically, there are two npm projects in this repository. When both are running they can interact with each other and exchange data. On your local machine, the frontend application will run on localhost:3000
and the backend server will run on localhost:5000
- Clone the project if you haven't already by running
git clone https://github.com/zsim314/Tutor_Project
- Enter into the directory by running
cd Tutor_Project
- Run
npm install
- Make sure
nodemon
is installed by runningnpm install -g nodemon
. - Run
npm test
. If you don't get any errors, then the backend is running. - Navigate to
localhost:5000
in your favorite web browser.
- Clone the project if you haven't already by running
git clone https://github.com/zsim314/Tutor_Project
- Enter into the directory by running
cd Tutor_Project
- Enter into the frontend project by running
cd frontend
- Run
npm install
- Run
npm start
- Run
npm start
. If you don't get any errors, then the frontend is running. - Navigate to
localhost:3000
in your favorite web browser.
- Open a command line in the server project (
path/to/Tutor_Project/
) - Run
npm run www
. This script deletes thewww/
folder, builds the frontend project, then copies the built project files intowww/