This application helps users to browse all launches SpaceX programs. This is server-side rendering application. The initial launch programs landing page is server side rendered. This application is deployed on netlify.
- Desktop View:
- Tablet View:
- Mobile View:
- Angular v11.1.2
- Angular universal for server-side rendering.
- Bootstrap v4.6.0 for styling and responsiveness.
- RxJS v6.6.0 for using rxjs operators.
- netlify to deploy angular application.
Steps:
- To create new angular application run
ng new angular-app
. - To add angular universal package in project run
ng add @nguniversal/express-engine
. - To add new component run
ng g c component-name
. - To add new service run
ng g s service-name
. - To add bootstrap package run
npm install bootstrap --save
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
To publish build run npm run prerender
that will create artifacts in dist folder under dist/spaceX-Launch-App/browser.
Run npm run dev:ssr
for a dev server. Navigate to http://localhost:4200/
Run ng test
to execute the unit tests via Karma.
Run ng lint
to generate linting report.