This webapp shows a list of famous sci-fi spaceships. Each spaceship can be shown by itself and displays some meta info.
This is a small app, which consists of an node js api and an angular2 app.
The api is done with node js and express. There are two api calls: /v1/spaceships
returns a list of spaceships, while /v1/spaceships/:id
returns a specific spaceship
The frontend is made with angular 2. It uses multiple components to build the UI and uses http and router modules to make navigating and displaying data possible.
- navigate to the project directory with your command line tool of choice
npm install
to install all required node_modulesnpm run production
to generate all app filesnpm start
to start the server. The command line tells you the url of your server