Front-end app of the final project for the Lighthouse Labs Web Development Program created by Siyi Xie, Tony Walker and Marcos Spomberg.
Trash2Treasure is a platform for users to list items (treasures) that are being left for donation in public spaces. It relies heavily on geolocation and the Google Maps API. Users are able to add and claims donations/treasures, comment on each donation and search by location and item name.
To be used in conjunction with the back-end app.
Created with React 18.1.0
- Emotion/React
- Emotion/Styled
- MUI/Material UI
- Google Maps API
- Axios
- React Time Ago
- React Geocode
- React Router
- Web Vitals
API Setup
- cd into the directory
- Run
bundle installto install required gems - Rename
config/local_env.example.ymlasconfig/local_env.ymland add a valid Google Maps API key string. - Run
rails db:setupto create the database, load the schema and initialize the seed data. - Run
rails startto start the API.
- cd into the directory
- Run
npm installto install the dependencies. - Rename .env.development.example.local to .env.development.local and add a valid Google Maps API key string.
- Run
npm start



