https://github.com/svierk/angular-bootstrap-toast-service
🍞 Angular project for sending Bootstrap based toast notifications including Vercel deployment
https://github.com/svierk/angular-bootstrap-toast-service
angular bootstrap5 git-hooks husky jasmine toast-notifications toaster typescript vercel-deployment
Last synced: 17 days ago
JSON representation
🍞 Angular project for sending Bootstrap based toast notifications including Vercel deployment
- Host: GitHub
- URL: https://github.com/svierk/angular-bootstrap-toast-service
- Owner: svierk
- License: mit
- Created: 2022-01-05T11:20:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T01:07:04.000Z (about 2 months ago)
- Last Synced: 2025-03-26T06:34:24.826Z (about 1 month ago)
- Topics: angular, bootstrap5, git-hooks, husky, jasmine, toast-notifications, toaster, typescript, vercel-deployment
- Language: TypeScript
- Homepage: https://angular-bootstrap-toast-service.vercel.app
- Size: 2.11 MB
- Stars: 18
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-angular - angular-bootstrap-toast-service - Angular project for sending Bootstrap based toast notifications including Vercel deployment. (Table of contents / Third Party Components)
- fucking-awesome-angular - angular-bootstrap-toast-service - Angular project for sending Bootstrap based toast notifications including Vercel deployment. (Table of contents / Third Party Components)
- fucking-awesome-angular - angular-bootstrap-toast-service - Angular project for sending Bootstrap based toast notifications including Vercel deployment. (Table of contents / Third Party Components)
- fucking-awesome-angular - angular-bootstrap-toast-service - Angular project for sending Bootstrap based toast notifications including Vercel deployment. (Table of contents / Third Party Components)
README
# 🍞 Angular Toast Service with Bootstrap

[](https://sonarcloud.io/summary/new_code?id=svierk_angular-bootstrap-toast-service)
[](https://codecov.io/gh/svierk/angular-bootstrap-toast-service)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fsvierk%2Fangular-bootstrap-toast-service?ref=badge_shield)



## About the project
The idea of the project was to create a service that allows displaying different types of toast notifications to the user, e.g. success or error toasts.
The application consists of essentially three components: A toast component that represents a single toast notification, a toaster component that maintains and stacks all current toasts, and the toast service. How the solution was built and works in detail is also explained in the following Medium post:
[How to Create a Toast Service Using Angular 14 and Bootstrap 5](https://medium.com/better-programming/how-to-create-a-toast-service-using-angular-13-and-bootstrap-5-494e5c66627)
## Getting started
To get the toast service up and runnning locally, all you need to do is open the repository with VS Code and install all the recommended extensions.
Run
- `npm install` to install all required dependencies
## Development Server
Run
- `npm start` for a local dev server. Navigate to `http://localhost:4200/`.
## Linter and Prettier
Run
- `npm run lint` to check for _ESLint_ issues
- `npm run lint:fix` to automatically fix _ESLint_ issues
- `npm run prettier` to check for _Prettier_ issues
- `npm run prettier:fix` to automatically fix _Prettier_ issues## Unit Tests
Run
- `npm run test` to execute the unit tests in watch mode for development
- `npm run test:coverage` to execute all unit tests with code coverage## Build
Run
- `npm run build` to run the production build