This project was bootstrapped with Create React App.
Publicly available: here
This simple single page application allows to search for a holiday and view some basic details about it.
Application contains three pages:
- Home (search location)
- Results (A list of results that match the search performed, and link through to the details page)
- Details (more rich information about selected hotel/sale)
This project requires Node.js. During the development process was used Node v16.17.0
- clone this repository
git clone https://github.com/artuone83/new-secret-escapes.git
- install dependencies
npm install
- start local server
npm start
- React
- Create React App
- Typescript (React Typescript Cheatsheet)
- Apollo client
- Graphql
- Material UI
- Codegen
open API from https://staging.sparrow.escapes.tech/graphql
(No Authorization Required)
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will 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.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
Finds and list problems with your JavaScript code.
Formats code with Prettier.
Generates TypeScript Types From GraphQL schema to src/generated/graphql.ts
file.