iOS App that browse the people from Star Wars Universe using GraphQL Api.
This project uses Apollo swift Client.
if you want a new schema you need to execute the following command
apollo schema:download –endpoint=https://swapi-graphql.netlify.app/.netlify/functions/index schema.json
To run that script you’ll need to have installed Apollo using homebrew:
brew install apollo-cli
The service requests StarWars People to the following endpoint:
The required queries are inside the Queries.graphql The Generated API.swift is inside the folder graphql in the root project. Schema.json is inside the folder called graphql
This project uses cocoapods. to install the libraries, once unzip, open the terminal in folder and type:
to install all the dependencies.