This day 3 project of nest digital internship on frontend development using angular.
This project was generated using Angular CLI version 21.0.1.
To start a local development server, run:
npm start
# or
ng serveOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
To build the project for production:
npm run build
# or
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To build with the correct base href for GitHub Pages:
npm run build:gh-pagesThis project is configured for automatic deployment to GitHub Pages using GitHub Actions.
-
Push your code to GitHub:
git add . git commit -m "Initial commit" git push origin main
-
Enable GitHub Pages:
- Go to your repository → Settings → Pages
- Under "Source", select GitHub Actions
- Save settings
-
Automatic Deployment:
- Every push to
mainbranch will automatically build and deploy - Check the Actions tab to monitor deployment status
- Your site will be available at:
https://YOUR_USERNAME.github.io/nestweb/
- Every push to
📖 For detailed deployment instructions, see DEPLOYMENT_GUIDE.md
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo execute unit tests with the Vitest test runner, use the following command:
npm test
# or
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.