/react-native-hilton

Native mobile app component of Hilton code challenge

Primary LanguageJavaScript

Hotel Reservation: Native Mobile App

GraphQL + React Native + Redux + Node + Express + Axios + Flow or Typescript

RN Installation

git clone https://github.com/jahskee/react-native-hilton
npm install
npm start

GraphQL Server Installation

git clone https://github.com/jahskee/graphql-hilton
npm install
npm start

GraphQL Live Server

Live server for the project:
http://kickstartapps.us:4000/graphql

REST Support Requirement

* Find all reservations
http://kickstartapps.us:4000/api/reservations

* Find reservation by Id
http://kickstartapps.us:4000/api/reservation/5c4b837e4001a326f882b2b5
http://kickstartapps.us:4000/api/reservation/5c4b98ee4001a326f882b2b8

* Add and update reservation
[POST] http://kickstartapps.us:4000/api/reservation

If _id is undefined add, else update.
 samplePostData = {
        _id: 'any' . 
        name: 'jaizon',
        phone: '5432222',
        email: 'jay@y.com',
        hotel: 'hotel1',
        address: 'address',
        arrival: 'arrival',
        departure: 'departure',
        totalAmount: 1080
 }

Video about the project

https://youtu.be/6pam9P3fpTc Alt text

Screenshots

alt text alt text

GraphQL Screenshot

alt text

Thank you!


Sincerely yours,
Jaiaon Francsico