Community-driven marketplace for neighbors to buy, sell, and swap homegrown produce.
-
Install dependencies:
npm install
-
Configure environment: Copy
.env.exampleto.envand update the values.cp .env.example .env
-
Database setup: Import
schema.sqlinto your MySQL instance.mysql -u root -p < schema.sql -
Seed data:
node seed.js
-
Start the server:
npm start
Run the full test suite with:
npm test- Backend: Node.js, Express, MySQL
- Frontend: Vanilla JS, CSS, HTML (SPA)
- Security: JWT (HTTP-only cookies), password hashing (bcryptjs)