List of user stories for each feature and their respective acceptance criteria
Users
As an unregistered and unauthorized user, I want to be able to sign up for the website via a sign-up form.
When I'm on the sign-up form:
I would like to be able to enter my first name, last name, email, and preferred password on a clearly laid out form.
I would like the website to log me in upon successful completion of the sign-up form.
So that I can seamlessly access the site's functionality
When I enter invalid data on the sign-up form:
I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
So that I can try again without needing to refill forms I entered valid data into
Log in
As a registered and unauthorized user, I want to be able to log in to the website via a log-in form.
When I'm on the login form
I would like to be able to enter my email and password on a clearly laid out form.
I would like the website to log me in upon successful completion of the log-in form.
So that I can seamlessly access the site's functionality
When I enter invalid data on the log-in form:
I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
So that I can try again without needing to refill the forms I entered valid data into.
Demo User
As an unregistered and unauthorized user, I would like an easy-to-find and clear button on both the homepage navbar to allow me to visit the
the site as a guest without signing up or logging in.
When I'm on the homepage:
I can click on a Demo User button to log me in and allow me access as a normal user.
So that I can test the site's features and functionality without needing to stop and enter credentials.
Log Out
As a logged-in user, I want to log out via an easy-to-find log-out button on the navigation bar.
While on any page of the site:
I can log out of my account and be redirected to a page displaying recent questions/posts.
So that I can easily log out to keep my information secure.
Cars
As a logged-in user, I want to be able to book a car rental for any specific date.
While on the page of the car:
I can specify the date and submit my booking request.