https://github.com/primaryobjects/hello-angular-css
Hello World with Angular and Bootstrap CSS, Material UI.
https://github.com/primaryobjects/hello-angular-css
angular angular2 angularjs bootstrap bootstrap5 css json json-server material-ui materialcss materialui tables typescript
Last synced: 2 months ago
JSON representation
Hello World with Angular and Bootstrap CSS, Material UI.
- Host: GitHub
- URL: https://github.com/primaryobjects/hello-angular-css
- Owner: primaryobjects
- Created: 2025-02-21T23:21:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T23:24:42.000Z (over 1 year ago)
- Last Synced: 2025-02-22T00:24:24.123Z (over 1 year ago)
- Topics: angular, angular2, angularjs, bootstrap, bootstrap5, css, json, json-server, material-ui, materialcss, materialui, tables, typescript
- Language: HTML
- Homepage:
- Size: 424 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Hello Angular with Bootstrap and Material UI
Display a table in Angular styled with Bootstrap CSS and Material UI.
## What is it?
This project demonstrates how to use Angular and TypeScript to render a table of data using Bootstrap CSS and Material UI. The data is loaded from an Angular service hosted on localhost using `json-server` and rendered in the table.
This project is an extension of [Hello World, Angular](https://github.com/primaryobjects/hello-angular), which was originally designed as an isomorphic web application using Angular on the frontend and a C# .NET Core REST API as the backend. This project simplifies the example using `json-server` as the backend to serve a local JSON file as a datasource, and demonstrates the differences in style between Bootstrap and Material UI.
## Screenshots

## Quick Start
To launch the application, follow these steps:
1. Install the dependencies:
```bash
npm install
```
2. Start the `json-server` to serve the data:
```bash
npx json-server --watch db.json
```
3. In a separate terminal, start the Angular development server:
```bash
ng serve
```
4. Open your browser and navigate to `http://localhost:4200/`.
## Additional Commands
### Adding a New Angular Component
To generate a new Angular component, run:
```bash
ng generate component component-name
```
## Adding a New Angular Service
To generate a new Angular service, run:
```bash
ng generate service service-name
```
## Adding a New Angular Interface
To generate a new Angular interface, run:
```bash
ng generate interface interface-name
```
## Tech Stack
- Angular
- TypeScript
- VSCode
- json-server: A full fake REST API
- Bootstrap CSS
- Material UI
## License
MIT
## Author
Kory Becker http://www.primaryobjects.com/kory-becker