https://github.com/cristobalgvera/angular-template
Angular template to easily bootstrap a production-ready project
https://github.com/cristobalgvera/angular-template
angular
Last synced: 8 months ago
JSON representation
Angular template to easily bootstrap a production-ready project
- Host: GitHub
- URL: https://github.com/cristobalgvera/angular-template
- Owner: cristobalgvera
- Created: 2024-01-09T01:33:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T03:17:38.000Z (11 months ago)
- Last Synced: 2025-01-19T06:10:18.703Z (9 months ago)
- Topics: angular
- Language: JavaScript
- Homepage:
- Size: 900 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- trackawesomelist - @cristobalgvera/angular-template (⭐1) - Project to easily start an Angular project using Server Side Rendering, Angular Material, and Tailwind CSS. It also includes development tools to easy your workflow. (Recently Updated / [Nov 23, 2024](/content/2024/11/23/README.md))
- fucking-awesome-angular - @cristobalgvera/angular-template - Project to easily start an Angular project using Server Side Rendering, Angular Material, and Tailwind CSS. It also includes development tools to easy your workflow. (Site Templates / Free Templates)
- awesome-angular - @cristobalgvera/angular-template - Project to easily start an Angular project using Server Side Rendering, Angular Material, and Tailwind CSS. It also includes development tools to easy your workflow. (Site Templates / Free Templates)
README
# Angular Template
Project to easily start an Angular project using the latest technologies.
- Latest Angular version
- Server Side Rendering
- Angular Material
- Tailwind CSS
It also includes development tools to easy your workflow.
- TypeScript
- Jest
- Docker
- VSCode DevContainer
- ESLint
- Prettier
- Husky
- Lint-staged
- Commitlint
## TL;DR
1. Bring the project to your local machine.
```bash
pnpx tiged cristobalgvera/angular-template
```
1. Copy the environment file.
```bash
cp .env.example .env
```
1. Choose one of the following options and go to [http://localhost:4200](http://localhost:4200)
- Run locally.
```bash
pnpm install
pnpm start
```
- Run in Docker.
```bash
docker compose up --build -d app
```
You can modify your files and watch the changes in real time.
Also, you can enter to `VSCode` and use the project inside a `DevContainer`.
### Build the project
> [!TIP]
> You can choose were or how deploy the project.
> The following use `Docker`.
Create a production-ready build.
```bash
docker compose -f compose.prod.yml up --build -d app
```