Clone the repository
git clone https://github.com/graphql/swapi-graphql.git
Install dependencies
yarn
or
npm install
Start the server
export PORT=3500; yarn start
or
export PORT=3500; npm run start
Clone the repository
git clone https://github.com/salman-amjad/swapi-challenge.git
Install dependencies
yarn
or
npm install
Run the app in production mode
blitz build && blitz start
Open http://localhost:3000 with your browser to view the app.
Runs your tests using Jest.
yarn test
Blitz comes with a test setup using Jest and react-testing-library.
- Add more unit tests
- Save sorting / filters to session storage or DB
- Refactor filters state
- Add similar characters to individual character page
- Update preloader / pre-fetch some data