A simple application that allows you to travel through the metadata of planets far far away using the Swapi API.
Deployed application: https://star-wars-pagination-mtwichan.vercel.app/
- React 18+: https://react.dev/
- ChakraUI: https://chakra-ui.com/getting-started
- TanStack Table: https://tanstack.com/table/v8
- TanStack React Query: https://tanstack.com/query/v3/
- TypeScript: https://www.typescriptlang.org/
- Vite: https://vitejs.dev/
- Vercel for deployment
- Install
Node.js
if you have not already: https://nodejs.org/en/download/current
- Install the dependencies:
npm install
- Run the app:
npm run dev
- Navigate to the port and check out the app
- I coded this super quickly as part of a coding interview
- Many things can be done better. For example error handling could be integrated much better and the frontend could use some work
- Additional code clean up
- Centralize TanStack React Query calls
- Table styling to fix columns in TanStack table