/farmfresh

farmfresh is a platform that enables local farms to connect directly with customers.

Primary LanguageJavaScriptMIT LicenseMIT

farmfresh

farmfresh is a platform that enables local farms to connect directly with customers.


farmfresh

Table of Contents


Setup

Install dependies for both frontend and backend and setup postgres database using sql file

$ git clone git@github.com:jamesnmcdowell/farmfresh.git
$
$ #frontend
$ yarn install 
$ yarn start
$
$ #postgres
$ createdb farmfresh 
$ cat db.sql | psql farmfresh
$
$ #backend
$ yarn install 
$ node index.js

Demo

https://farm-fresh-app.herokuapp.com

  • Create a dummy account to browse the app
  • Or use email: james / password: james

Features

  • Customers can use predictive search bar to query for products
  • Customers can search for products based on category
  • Customers search results return closest location to them
  • Vendor can add both products and selling locations to database
  • Client-side routing with react router
  • Authentication using JSON web tokens and bcrypt
  • GraphQL server that enables sophisticated client-side querying
  • State management with redux
  • Responsive mobile-first CSS Grid/ Flexbox Layout

External

Libraries and APIs used within the application

Todos

  • Create map view of search results detailing locations
  • Expand on vendor dashboard so that vendors can edit and delete locaions/ products

Contributors


License

License