Welcome to Caffa!
Caffa is a community-driven platform for coffee lovers all around the world. Search your favourite Coffee through our image search to learn more details about the coffee itself, what others are saying about it and where you can find it at your local shops.
This project was developed by Connie Ho, Justin Ly, and Kevin Phan
Visit our website at: http://caffa.herokuapp.com/
To run the following project on your machine please follow the steps below:
-
Create an
.env
in the main backend directory where you'll be providing the required API Keys. -
Obtain an API key from Google Vision (for image scanning recognition) and Yelp Fusion ( for recommended local cafes). Place these in the
.env
file you created in the backend. You will need to use the same Google Vision API Key for the Frontend setup as well so keep this handy for now.
-
Create an
.env
in the main frontend directory where you'll be providing the required API Keys. -
Take the Google Vision API key you obtained earlier for the backend setup and put this in the .env file.
-
Visit Firebase and obtain an API key and put this in the .env file as well.
- Install all frontend dependencies while in the main frontend directory.
npm install
- Install all backend dependencies while in the main backend directory.
npm install
- Reset the database.
npm run db:reset
- Run the server for the frontend and backend.
npm start
- Lastly, visit the website on your localhost.
http://localhost:3002/
- axios: ^0.21.1,
- bcrypt: ^5.0.1,
- body-parser: ^1.18.3,
- cookie-parser: ~1.4.4,
- cookie-session: ^1.4.0,
- debug: ~2.6.9,
- express: ~4.16.1,
- morgan: ~1.9.1,
- pg: ^8.5.1,
- pg-native: ^3.0.0,
- yelp-fusion: ^3.0.0
- User interactions such as following other users.
- Integrated marketplace to buy and sell coffee on Caffa.
- Admin dashboard to manage new coffee entries by customers to retain consistency with existing records in the database.
- Filtering not on page 1 can cause errors
- Distance is inaccurate on yelp maps
- Google Vision API sometimes displays errors