This project used GraphQL to send Data to frontend App. Currently This project uses Firestore to get data.
- MacOS Mojave 10.14.5
- Node 11.8.0
- npm 6.5.0
-
Clone the project.
-
navigate to projectDirectory folder using
cd projectDirectory
. -
Install dependencies with
npm install
. -
Run with
npm start
. -
goto browser and paste url http://localhost:3000/graphql
-
paste below query:-
query ($page_number: Int!, $limit: Int!){ getBookings(page_number: $page_number, limit: $limit){ address date date_of_booking booking_id club_name isSuccess package_name total } }
-
use Query variable :-
{ "page_number": 3, "limit": 5 }