A forager's tracking tool
If you're into foraging wild plants or fungi, you probably discover new spots every season. The Mushroom Log is for anyone who wants to record their locations and pin observations over time to uncover patterns in their findings.
- Node.js ≥ v14
- MySQL ≥ v5.7
After forking and cloning down the repo, create a .env
file in the project's root directory with the same keys listed in dotenv.example.txt
Create googleConfig.js
and copy in the contents of googleConfig.example.js
. Add your Google Maps API key.
Do not commit .env
or googleConfig.js
to version control.
To run the app locally, execute the following from the project's root directory:
- Install all necessary dependencies:
$ npm install
- Seed the database schema:
$ mysql -u <username> -p <password> < database/schema.sql
- Start the Node server:
$ npm start
- Build the React app:
$ npm run build
- Open your web browser to
http://localhost:3000