Skip to content

obuchheit/farmers-marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Famers Marketplace

Farmers Marketplace is a solution for those that want buy, sell, or trade with local farmers, and gardeners alike. With a feature rich interface users can post listings of their own food products, create or join groups with trusted members, or just browse local listings for fresh produce or food that they know doesn't come from industrial farming.

Frameworks

Front End

JavaScript React Vite Axios HTML5 CSS3 React Bootstrap Mapbox

Back End

Python Redis Django PostgreSQL PostGIS

Dependencies

Redis server 7.4.1 PostgreSQL 17.2 POSTGIS 3.5.1

Dependency Installation Instructions.

Linux

sudo apt update
sudo apt install -y build-essential tcl
wget http://download.redis.io/releases/redis-7.4.1.tar.gz
tar xzf redis-7.4.1.tar.gz
cd redis-7.4.1
make
sudo make install
redis-server --version  

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt install -y postgresql-17
psql --version

sudo apt install -y postgis postgresql-17-postgis-3
sudo -u postgres psql -c "CREATE EXTENSION postgis;"
sudo -u postgres psql -c "SELECT PostGIS_Full_Version();"

MacOS

brew update
brew install [email protected]
brew services start redis
redis-server --version

brew install postgresql@17
brew services start postgresql@17
psql --version

brew install postgis
brew services start postgresql@17
psql postgres
CREATE EXTENSION postgis;
SELECT PostGIS_Full_Version();

Instructions for Auto Adding Users and UserPosts

dropdb farmers_marketplace_db
createdb farmers_marketplace_db
python manage.py makemigrations
python manage.py migrate
python manage.py generate

The directory path to the generate file is /back_end/user_app/management/commands/generate.py All users have the default password of DjangoReact1!

Future Endeavors

The Farmers Marketplace team plans to dockerize and deploy Farmers Marketplace utilizing AWS. We also plan to The potential for additonal features in the app is endless!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •