"Chez Toi" is an application for browsing and booking viewings for houses. It interacts with the Chez Toi API to provide users with up-to-date information on the houses that are available and the viewings that the user has booked.
The website consists of several pages:
-
The "House Browser" page, where the user may view look through images and brief descriptions for the houses available for viewing and access the "House Details" page for any house that interests them.
-
The "House Details" page, where a user can view further information about the selected house and access a form to book a viewing at that house if they choose.
-
The "Viewings" page, where a user can see all the viewings that they have booked so far, and cancel any if they wish.
-
The "Sign Up" page, where a user can create a new account - this is required in order to book a viewing.
-
The "Log In" page, where a user can log in to an existing account using their e-mail address.
- React - Bootstrapped using the create-react-app package.
- Redux - Redux is used for storing state. The
react-redux
package was used to enable React bindings for Redux. - React Router - the
react-router-dom
package was used to allow navigation between pages. - Bootstrap and Font Awesome were both used, via their npm packages.
- Kent Dodds' Testing Library - the
/jest-dom
and/react
APIs were used for testing, on top of Jest, which iscreate-react-app
's default testing suite. - ESLint linting JavaScript.
node.js is a pre-requisite of this project.
Don't have node.js? Choose a download method here.
-
Open a Terminal and navigate to the location in your system where you would like to download the project. New to Terminal? Learn here.
-
Enter the following line of code to clone this repository:
git clone git@github.com:Joseph-Burke/Chez-Toi-App.git
-
Now that the repository has been cloned, navigate inside it using
cd Chez-Toi-App
. -
The project's dependencies are managed by npm. The details of this project's dependencies can be found in
package.json
. To install them, enter the following line of code in the Terminal.
npm install
- Start the project with the
npm start
command. This will compile the code, start a server and open a browser for you to view the site.
To run tests, simply enter the npm test
command in the terminal. This will begin create-react-app
's built-in testing script, which will watch for changes and run tests automatically.
If you're interested in writing further tests for this project, refer to the documentation for Jest and Testing Library.
👤 Joe Burke
- Github: @Joseph-Burke
- Twitter: @__joeburke
- Linkedin: Joseph Burke
Contributions, issues and feature requests are always welcome!
Drop me a line through any of the channels listed above or head directly to the issues page.
Hey! Give this project a ⭐️! It costs nothing :)
- This project was built as part of the Microverse Web Development course, which you can learn more about here.
- Based on a design by Murat Korkmaz.
This project is MIT licensed.