You can find our site hosted on Heroku here
Make sure you have Git and Node (v18) installed.
- Clone this repo and
cd
into the directory - Run
npm install
to install all the dependencies - Run
npm run dev
to start the server.
This uses thenodemon
library to auto-restart the server when you save changes.
Our test folder contains two tests.
- Test 1 Display the form for the user.
- Test 2 Submitting the form displays as the most recent post
To run:
npm run test:form
npm run test:post
-
As an opinionated person, I want to: post my thoughts so others can read them
-
As a bored person, I want to: read what other people have posted
- As an impulsive person, I want to: delete my posts so no one can see them anymore
- Deployed to Heroku
- A page with a form to submit posts, and a page showing all posts
- No .html files (all HTML responses should be created dynamically within Node)
- No client-side JavaScript (all logic should happen on the server)
- All static assets served correctly (CSS, favicon etc)
- Tests for each server route
- A responsive, mobile-first design
- Ensure your app is accessible to as many different users as possible