Real Estate Website
This is a fully functional and responsive website that allows one to locate houses and book.
The website is using React.js and Tailwind.
👤 Pauline Ondiek
GitHub: @PAULINE-ASHLEY Twitter: @PAULINE_ONDIEK LinkedIn: Pauline Ondiek
To setup git clone https://github.com/PAULINE-ASHLEY/Real-Estate-React-Web.git
1. Ensure you have `node` version >=14 installed. To find out about this, Open a command prompt or terminal and type `node -v`
2. You have cloned the repo from github
3. You have a text editor (preferably vscode) installed on your computer
1. Open the project folder with your desire code editor
2. Open a built in terminal without included with your text editor
3. To install all dependencies used in the project, type in `npm install` into the open terminal and click enter on your keyboard
4. To ensure the project is open with rules specific by eslint used in this project, type in `npm run lint` on the terminal
5. Next, ensure the project files are rightly formatted by typing in `npm run format`
6. Finally, to start the development server, `npm run start`
At this Point, you should see the application running on a broswer window/tab at [http://localhost:3000]
If you encounter any issues while doing any of the above commands, kindly the sections below on the available scripts
to find for little more insight.
- Clone repository
- Checkout an "all-time" branch using the following format <your name>-development (e.g git checkout -b pauline-development)
NOTE: All Push and pull requests should be made toward the development branch.
Ensure to follow these steps when committing
- git add .
- npx lint-staged
- git commit -m <message here>
- git pull origin development
- git push
- Go to github
- open a new Pull Request to development
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Checks if files obeys all Eslint set rules properly
This script fixes all possible eslint errors in the project
Formats all files using prettier set rules at .prettierrc
Checks if all files are formatted properly
Checks if files obeys the Eslint rules and are formatted properly