Skip to content
/ Kasa Public

A React JS web app for an apartment rentals between individuals platform.

Notifications You must be signed in to change notification settings

gsebdev/Kasa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kasa

This project was carried out as part of a training course with the OpenClassrooms platform.
This is a ReactJS web app for an apartment rentals between individuals platform.
See demo

Features

  • Fetch appartment list from a JSON file
  • Slideshow component
  • Collapse component
  • React-router used for dynamic routes (id of the appartment) to display the appartment details page

Set the Router type

If you need a Hash Router you can set this in the .env file, else the app will use the Browser Router

REACT_APP_USE_HASH_ROUTER=TRUE

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 your browser.

npm run build

Builds the app for production to the build folder.\

npm run deploy-demo

Builds and deploy the demo on github pages, don't forget to set the REACT_APP_USE_HASH_ROUTER to TRUE in order to work on github pages.