Skip to content

aditidw/lodgify-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lodgify - A Booking App

This project was bootstrapped with Create React App.

The Task

List the houses of customers using a grid of cards.

The data was an array of object, like below:

[
	{
		"id": "6489887061",
		"name": "Roxbury",
		"image": "https://picsum.photos/1614/807",
		"bookable": true,
		"booked":7
	}
]

The conditions were following:

  • id : the id of the house
  • name : the name of the house
  • image : the image of the house
  • bookable : if it's - available or unavailable
  • booked : 0 means that can be booked (button) or shows how many days is booked

Alt text

First time setup

The first step to running lodgify-app locally by downloading the code by cloning the repository:

git clone git@github.com:aditidw/lodgify-react-app.git 

If you get Permission denied error using ssh refer here or use https link as a fallback.

git clone https://github.com/aditidw/lodgify-react-app.git 

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published