This hackathon collaborating with mymizu team is one of the challenges at Code Chrysalis coding Bootcamp.
The initial screen is the login page where the user will have to fill in their email and password.
When logged in as the business user, on the right side the user will be able see the business information - business name, email and the amount of taps they have.
On the left side is the map and when clicking on one of the taps, the map will be able to show the location of that specific tap and all the information related to the tap - Name, address, photos, comments like opening hours and how to refill your water and finally the business user will be able to see a counter on how many refills they have done and how much they are contributing to saving the environment.
- CLIENT=pg
- DATABASE=mymizu
- HOST=localhost
- PGPORT=5432
- PGUSERNAME=your pg username
- PASSWORD=your pg password
- REACT_APP_AUTH0_DOMAIN=your auth0 domain
- REACT_APP_AUTH0_CLIENT_ID=your auth0 client_id
- REACT_APP_API_KEY=your google maps api_key
You will also need these environment variables and to get these contact, please, mymizu team - https://www.mymizu.co
- MMHOST=mymizu host
- MMPORT=mymizu port
- MMUSER=mymizu user
- MMPASSWORD=mymizu password
- MMDATABASEmymizu database
- REACT_APP_MYMIZU_API_KEY=your mymizu api_key
- To install dependencies: npm i
- To run the server: npm run dev
- To migrate the database: knex migrate:latest
- To seed the database: knex seed:run
- At login screen - username: [email protected], password: Test@123
- PostgreSQL
- Knex.js
- Express
- Axios
- Auth0
- React
- Heroku