An app to show off our plants.
See it 👉🏻 here
- Git clone https://github.com/fac-23/week3-oli-adam-paolo
- Run command
npm install
in terminal
-
In your terminal
- run
./scripts/create_db <name of your local database>
- run
./scripts/populate_db
- run
psql
- run
\connect <name of your local database>
- run
\dt
to check the tables are there. There should be only one table named "reviews"
- run
-
Add your COOKIE_SECRET inside .env
-
To start sever run command
npm run dev
-
For cypress testing run command
npm run test
-
Access locally on localhost:3000
- As a user, I want to: submit information to your site for anyone to see
- As a user, I want to: come back to your site later and see what I posted is still there
- As a user, I want to: be the only person allowed to delete my stuff
- Forms for users to sign up and log in
- A form for users to submit data only accessible to logged in users
- A page showing all the data
- A way for logged in users to delete their own data
- Semantic form elements with correctly associated labels
- A Postgres database hosted on Heroku
- Hidden environment variables (i.e. not on GitHub)
- Tests for all routes
- A user page that shows everything posted by a single user
- GitHub Actions CI setup to run your tests when you push
- Scrum Facilitator and UX Design - Oli
- DevOps - Paolo
- Quality Assurance - Adam
-
Learnt about where the value of the session and the session table lies
-
Feeling more confident with modularisation and routes
- The importance of Server-side Authentication
- Understanding the scope of the project and how to break down tasks into managable chunks.
- Ask for help at the right time
- Start with a MVP