minimal Angular frontend for SWAPI (Star Wars API)
Node: v18.15.0
NPM: v9.5.0
Angular CLI: v15.2.4
Typescript: v4.9.5
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
Install and setup Docker
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 .
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