This is a React application that connects to the SWAPI (Star Wars API) and displays entries from various data resources. Users can browse through different categories such as films, people, planets, species, starships, and vehicles. The data is paginated, and users can also search for specific entries within each category.
Technologies used:
- React
- Typescript
- Vite
npm install
- dev: Launches the development server using Vite. The application will be hosted locally.
npm run dev
- build: Builds the production-ready version of the application. It compiles TypeScript files and generates optimized bundles using Vite.
npm run build
- lint: Lints the TypeScript files using ESLint. It enforces coding standards, detects potential errors, and ensures code consistency.
npm run lint
- preview: Launches a preview server to view the production build locally.
npm run preview
Once the development server is running, you can access the application by navigating to the provided local host address. The application allows you to browse through different categories of Star Wars data, paginate through the entries, and search for specific items within each category.