Add your favourite recipes with B-JAM ๐ฝ
- Clone the repo
- cd into the folder and run
NPM install
- Run the scripts > create_db and populate_db to initialise the local copy of the database
UX - Ji
Facilitator - Anna
DevOps - Michael
QA - Barbara
As a user ๐โโ๏ธ I want to...
- Login to the app, update my details and delete my data
- Post my recipes
- Come back later and see that my recipes are still there
- Delete my recipe
- See everybody's recipes
โ๏ธ Express server ๐
โ๏ธ Postgres database
โ๏ธ Hosted on Heroku
โ๏ธ Using of the spike topics (file upload ๐ )
โ๏ธ Validated user-submitted data on the server
โ๏ธ Form validation in the browser
โ๏ธ Error handling informing the user of what went wrong ๐ฎ
โ๏ธ CSS styling
โ๏ธ Acccessibility testing
โ๏ธ Cypress testing on most routes ๐ฒ
Future improvements ๐ฐ
-
Fix image avatar upload feature ๐
-
Tests ๐งช for all routes
-
GitHub Actions CI setup to run tests when we push
-
Future features:
๐ commenting on recipes
๐ 'like' buttons on recipes โค๏ธ
๐ image uploads on recipes
- How to implement file uploads in Node.js with Multer
- How to validate user input in the client and on the server ๐
- How to use Express middleware and how to write our own middleware functions to organise our code.
- We had an issue with our avatar images not showing on the page. This was due to a syntax error in the SQL query.
- We noticed that a user had to log in again after they signed-up to post a recipe. This was due to a missing return statement in the
createUser
function.