Web link: http://btch-purrlease.herokuapp.com/
App for single dogs ANd cats, the app displays users looking for friends/partners, users have to sign up and log in to post.
- Git clone this repo
- Run
npm install
to get all the node modules - Initialise a local database
- Create .env file in the root folder and with DATABASE_URL variable with initialise database
- Run
npm start
- Complete Installed Locally
- Run
npm test
for server tests - Run
npm test-db
for database connection tests
- The page loads to show all the posts and any previous messages are loaded
- Pup can view posts, and try to post in the form.
- The form will only post if the user is signed in.
- Form will detect if user is signed in or not. If not, there will be a link to direct you to signin/log
- Relocates you to the login/signup page
- Login or sign up will redirect you to the home page where you can now post
- Messages are ordered by newest first
- As a pup, I want to be able to put information out there about what I am looking for in another pup so that I can find love
- As a pup I want to scroll through all the messages so that I can looked for my special one
- As a feline, I want to: be the only person allowed to delete my stuff
- Enter main page it loads previous posts
- Stretch Goal - to have a time stamp and image loaded as well
- Tests for server routes
- Test for database access
- Modularisation of db queries
- 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
- Not process user input as SQL commands
- Hidden environment variables (i.e. not on GitHub)
- Same username cannot be put in twice for sign up
- Login username cannot be something not already on the database
- Hand-drawings
- Food
- Miro
- Heroku
- Node
- Postgres
- Jessica - Deployment
- Aishah - Scrum Facilitator
- Jennifer - Quality
- My Hoa - Design