To install dependencies in terminal type npm install
then type cd client
then npm install
and then cd ..
npm run dev
For user database table : http://localhost:5000/users For listings database table: http://localhost:5000/listings For website address: http://localhost:3000
- Any signed-up user can list a new space.
- Users can list multiple spaces.
- Users should be able to name their space, provide a short description of the space, and a price per night.
- Users should be able to offer a range of dates where their space is available.
- Any signed-up user can request to hire any space for one night, and this should be approved by the user that owns that space.
- Nights for which a space has already been booked should not be available for users to book that space.
- Until a user has confirmed a booking request, that space can still be booked for that night.
As a user
So that I can use the website
I would like to sign up
As a user
So I can earn money
I would like to be able to list a new space
As a user
So I can earn more money
I would like to be able to list multiple spaces
As a user
So people can know the information about my listing
I would like to be able to name the space, short description and as price per night
As a user
So other users can book the listing
I would like to offer a range of available dates
As a user
So that I can book a listing
I would like to request to hire a space for 1 night
As a user
So I can take bookings for a listing
I would like to approve and decline requests from other users
As a user
So that I don't get double bookings for a listing
I would like the space to become unavailable on dates that have been booked
As a user
So I can manage my listing's bookings
I would like the dates of a listing to still be available until I accept a booking request