Built with: NextJS, Typescript, Tailwind, GraphQL, Zustand
Tested with: Cypress E2E
Welcome to the Star Wars Squad Builder, a mobile-first application designed for assembling your ultimate Star Wars character squad. This documentation provides a comprehensive guide on the functionalities and features of the application.
- View a comprehensive overview of various Star Wars characters.
- Utilize the search functionality to find specific Star Wars characters easily.
- Access a detailed view of a selected Star Wars character, showcasing relevant character information.
- Create a squad with a maximum of 5 characters. Ensure diversity in your squad by restricting members of the same species. Edit your entire squad as needed.
- No two squad members can belong to the same species, ensuring a diverse and dynamic squad.
-
Clicking on a character's image adds them to your squad. If a character is already in the squad, clicking on their image will remove them.
-
Characters of a species already in the squad won't appear in the search results, preventing duplicates.
-
Clicking on "More Info" opens a new window, allowing you to explore additional details about a character.
-
Create a simple mobile first Star Wars Squad Builder.
- See a Star Wars characters overview.
- Search for a Star Wars character.
- Access a Star Wars character detail view showcasing related character information.
- Create a squad of 3/5 characters, based on the criteria below:
- no 2 squad members can be of same species.
- Your squad should persist during your session
- See & edit your whole squad
- Tailwind CSS
- NextJs
- Typescript
- GraphQL (Apollo)
- tests
- documentation
- login (email, password)
- set character as favorite
- saving squad
- read task
- read the task again
- consider tech stack (sure I will go with suggested)
- create next app with Tailwind and Typescrpt
- start writing documentation
- check squad builders and star wars fun sites for inspiration
- sketch wireframe
- take out Xmas cookies from oven :D
- check data with Postman
- create components
- add GraphQL
- create logic
- add Zustand
- add E2E test
- finish styling
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.