Click here to access the website
Star Wars Catalogue is a web application that displays an organized collection of characters from the Star Wars universe. Each profile includes an image, name, and a dynamic route with more information, providing an engaging experience for fans of the saga.
The application was built using Nuxt.js for SSR/static generation, combined with Vue 2, TailwindCSS, and PostCSS to deliver a responsive and visually cohesive design.
$ npm install$ npm run dev$ npm run build
$ npm run start$ npm run generate📦starwars
┣ 📂assets
┃ ┣ 📂css
┃ ┃ ┗ 📜tailwind.css
┃ ┣ 📂fonts
┃ ┃ ┣ 📜Starjedi.ttf
┃ ┃ ┗ 📜Starjout.ttf
┃ ┗ 📂img
┃ ┃ ┣ 📂people
┃ ┃ ┃ ┣ 📜Ackbar.jpeg
┃ ┃ ┃ ┣ 📜[...].jpeg
┃ ┃ ┣ 📜home-background.png
┃ ┃ ┗ 📜star-wars-catalogue.png
┣ 📂components
┃ ┣ 📜BackgroundSection.vue
┃ ┣ 📜CharacterCard.vue
┃ ┣ 📜HeroSection.vue
┃ ┗ 📜StarFavorite.vue
┣ 📂pages
┃ ┣ 📜index.vue
┃ ┗ 📜_slug.vue
┣ 📂static
┃ ┗ 📜favicon.ico
┣ 📂store
┃ ┗ 📜README.md
┣ 📜.editorconfig
┣ 📜.eslintrc.js
┣ 📜.gitignore
┣ 📜.prettierignore
┣ 📜.prettierrc
┣ 📜jsconfig.json
┣ 📜LICENSE
┣ 📜now.json
┣ 📜nuxt.config.js
┣ 📜package-lock.json
┣ 📜package.json
┣ 📜README.md
┗ 📜tailwind.config.js
Some key folders and their purposes:
-
pages/: Where routing and views are automatically generated.
-
components/: Reusable components like CharacterCard, HeroSection.
-
assets/: Includes Tailwind config, Star Wars fonts and image library.
-
static/: Public files served directly, like favicon.ico.
-
store/: Optional Vuex integration.
For detailed explanations, refer to the Nuxt.js documentation: https://v2.nuxt.com/pt/