Skip to content

roc41d/angular-frontend-for-swapi

Repository files navigation

minimal Angular frontend for SWAPI (Star Wars API)

Getting started

Requirements

Node: v18.15.0
NPM: v9.5.0
Angular CLI: v15.2.4
Typescript:  v4.9.5

Installation

Clone the repository

git clone git@github.com:roc41d/angular-frontend-for-swapi.git

Switch to project folder

cd angular-frontend-for-swapi

Install dependencies

npm i

Start local development server

npm start

Run unit tests

npm test

You can now access the app via http://localhost:4200

Setup with Docker

Additional Requirements

Install and setup Docker

Build image

Switch to project folder

cd angular-frontend-for-swapi
docker build -t <username>/<app-name>:<tag> .

Ex. docker build -t rocard/angular-frontend-for-swapi:v0.1 .

Run app

docker run -d -p <host-port>:<docker-port> <username>/<app-name>:<tag>

Ex. docker run -d -p 8080:8080 rocard/angular-frontend-for-swapi:v0.1

You can now access the app via http://localhost:8080

About

minimal Angular frontend for SWAPI (Star Wars API)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published