Sandbox to generate projects with generator ngx rocket
Ran the command:
npm install -g generator-ngx-rocket
Ran the command from the command line:
ngx new
Then went through the new project wizard and selected/entered the following:
- Entered the project name as HelloWorld
- Selected Web App
- Other options included Mobile app (using Cordova) and Desktop app (using Electron)
- Selected Angular Material as the UI framework
- Other options included Ionic for mobile-oriented and Bootstrap for website-oriented
- Selected side menu with split panels, app-oriented
- Other option was Simple responsive header bar website-oriented
- I left the default feature selections: Progressive Web App, Authentication, Lazy loading and End-to-end tests with Cypress
- Other option was Analytics with Angulartics2
- Kept default language as en-US
- Additional tools included:
- Prettier for automatic code formatting (selected)
- Hads (markdown-based doc system) (selected)
- Compodoc (Angular doc generator)
- Jest (Jasmine test replacement)
- Protractor (deprecated)
- Puppeteer (embedded Chrome for testing)
- Additional libraries included:
- Lodash (collection and general utilities) (selected)
- Ramda (Lodash FP alternative)
- Moment.js (date management) (selected)
- Date-fns (Moment FP alternative)
- Automatic deployment
- No Deploy (selected)
- Firebase
- Azure
- Now
- Netlify
- GitHub Pages
- Amazon
The project then built successfully and the following tasks were available:
- $ npm start: start dev server with live reload on http://localhost:4200
- $ npm run build: build web app for production
- $ npm test: run unit tests in watch mode for TDD
- $ npm run test:ci: lint code and run units tests with coverage
- $ npm run e2e: launch e2e tests
- $ npm run docs: show docs and coding guides
- $ npm run prettier: format your code automatically
After creating the HelloWorld application, I ran the following command:
npm start
Server started and was available at: http://localhost:4200/
Logged in with admin/admin