Skip to content

mzeitz1902/star-wars

Repository files navigation

Star Wars App

This is a web application that utilizes SWAPI to show information about people in the Star Wars universe.

It uses the Angular Material library for UI components and NgRx for state management.

Table of Contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js and npm installed on your local development machine.
  • Install Angular CLI globally on your machine.

Installing

  1. Clone the repository:
git clone https://github.com/mzeitz1902/star-wars.git
  1. Navigate into the cloned repository:
cd your-project-name
  1. Install the dependencies:
npm install

It might be necessary to use npm i --legacy-peer-deps because of version discrepancies with the NgRx packages.

  1. Start the development server:
ng serve

Now, the application should be running at http://localhost:4200/.

Features

  • View a paginated list of people from the Star Wars universe
  • Search for a person by name
  • View detailed information about a person
  • Add a new person to the list (only locally)
  • Delete a person from the list (only locally)

Folder Structure

├── src
│   ├── app
│   │   ├── pages
│   │   │   ├── people
│   │   │   │   ├── store
│   │   │   │   ├── components
│   │   │   │   │   ├── add-person-dialog
│   │   │   │   │   ├── people
│   │   │   │   │   │  ├── components
│   │   │   │   │   │  │     ├── add-person-dialog
│   │   │   │   │   │  │     ├── people
│   │   │   │   │   │  │     │     ├── header
│   │   │   │   │   │  │     │     ├── content
│   │   │   │   │   │  │     │          ├── people-list
│   │   │   │   │   ├── person-details
│   │   ├── shared
│   │   │   ├── components
└── ...

Built With

Authors

Running unit tests

Run ng test to execute the unit tests via Jest.

Running component tests

Run ng cypress:open:component to run component tests via Cypress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors