Boilerplate contains the following:
- Express
- Knex
- SQLite3
- Express Handlebars
- body-parser
- AVA
- Node Inspector
- nodemon
Things to be installed:
npm install
npm run knex migrate:latest
npm run knex seed:run
npm run dev
Swap your home grown produce with your neighbours.
MVP:
- create a profile page where users can add the produce they are willing to trade.
- create a main page that displays all the veges availble for trading in the neighbourhood.
- create a message feature where users can make a trade request to all of the growers of a particular produce.
User story:
"As a user I want to be able to create a profile that lists produce I'm willing to trade."
"I then want to be able to go to a different page and see a list of all of the produce my neigbours are willing to trade"
"I want to be able to click on some produce and send a message to the traders."
Dev plan:
Focus on one user story at a time.
-
Start with HTML
-
Establish routes, and write some tests for these.
-
Work on database code and write tests for these.