Deployed website: here.
- 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 sign-in
- Form to submit data only accessible to logged in users
- Page showing all the data
- Way for logged in users to delete their own data
- Semantic HTML
- Database
- Hidden env variables
- Tests for all routes
- User page showing all posts from single user
- Github action to run tests on push
The project is a little community forum about bikes. Users should be able to sign up and log in to create and delete their own posts. Non-logged in users should still be able to see other people's posts on the same page.
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.
With above installed, follow the below to run test(s).
- Run
npm run test:1
to test
Session can be created and inserted