A web-app to help volunteers and organisations find each other
Node v14.17.4 (best to use NVM to manage node version)
Yarn
If you havent used react before. I highly reccomend going through these docs: https://beta.reactjs.org/
Once you have the correct version of node running, run yarn install
to install the package dependanices.
Start the backend by running command in root folder:
docker-compose up -d --build
You can now open the browser and interact with the api documentation at: http://localhost:8000/docs
Enter the frontend
directory, install the NPM packages and start the live server using the yarn
scripts:
cd frontend
yarn run start
This will launch the app in your default web browser at http://localhost:3000
This app requires the use of Google API Key for the following API's:
- Places API
- Geocoding API
- Log in at https://console.cloud.google.com/.
- Using the 'Select a project' button in the header, create a new project.
- On the sidebar, navigate to 'APIs & Services>Dashboard'.
- You may need to select the project you created.
- On the dashboard, at the top, select 'Enable APIs and Services'
- From this API Library page, you can enable all the nessecary APIs you need.
- Go to the 'Credentials' page through sidebar and create an API Key.
- Go the the file '.env' in the './frontend' folder and paste the following
REACT_APP_GOOGLE_API_KEY={Your API Key}
. - You will need to setup billing on your account for this to work.
- Tested on Google Chrome, Firefox, Safari, Edge. =======