Skip to content

isabellacpmelo/starwars

Repository files navigation

Star Wars Catalogue


Click here to access the website

About the project

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.

Technologies

Getting Started

Install dependencies:

$ npm install

Run development server with hot reload:

$ npm run dev

Build for production:

$ npm run build
$ npm run start

Build for production:

$ npm run generate

Project structure

📦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

Nuxt Directory Highlights

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/

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors