A service that tells you what kind of tree you should plant in your garden! It guides users through a questionnaire and matches them with a tree species.
Play with this app at https://tree-match.herokuapp.com/.
- Clone the project source code.
git clone https://github.com/AVu120/tree-match.git
- Navigate into the project directory.
cd tree-match
- Ensure you're on the main or dev branch.
git checkout main
OR
git checkout dev
- Start the frontend running on a webpack dev server.
cd client
npm i
npm start
- Start the backend/api-server.
cd ../server
npm i
npm start
- Access the app in any web browser via localhost:3000.
- In the root directory (/tree-match), ensure you're on the deployment branch.
git checkout deployment
- Run the build script.
npm run build
- Run the deploy script.
npm start
- Access the app in any web browser via localhost:5000
Test the frontend:
cd client
npm test
Test the backend:
cd ../server
npm test