You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/sardapv/angular-material-starter-template/actions/workflows/build-deploy.yml)
> This boilerplate comes with bunch of preconfigured stuffs and best practises to help you kickstart your project easier & quicker...
16
8
17
-
If you do like this project, do leave a 🌟 ! 😊
9
+
If you like this project, do leave a 🌟 ! 😊
18
10
19
11
[Sample Demo 🚀](https://sardapv.github.io/angular-material-starter-template/) (only shows that Tailwind, Material components are integrated)
20
12
21
13
# How to get started?
22
14
23
-
make sure you have node and npm installed on your system before running below commands
15
+
Make sure you have node.js latest stable & @angular-cli installed on your system before running below commands
16
+
17
+
- Run
18
+
19
+
```bash
20
+
npx ng-new-app your-app-name
21
+
```
22
+
23
+
if you don't have npx, Run -
24
+
25
+
```bash
26
+
sudo npm i ng-new-app -g
27
+
```
28
+
29
+
and
30
+
31
+
```bash
32
+
ng-new-app your-app-name
33
+
```
24
34
25
-
- Run `npx ng-new-app your-app-name`\
26
-
(if you don't have npx, Run - `sudo npm i ng-new-app -g` then `ng-new-app your-app-name`)
27
35
- Read instructions carefully after its successful, refer readme if any doubt.
28
-
- Run`ng serve`
36
+
- change package.json for project, version & author details
37
+
- Run`npm start` and start coding 😉
29
38
30
-
# What does it offer?
39
+
# What's inside the boilerplate?
31
40
32
-
> Well, you might have noticed badges on top 😉, but keep on reading for detailed summary 🍷
41
+
> Keep reading for detailed summary 🍷
33
42
34
43
- Project Structure inspired form [Rik De Vos's blog](https://medium.com/dev-jam/5-tips-best-practices-to-organize-your-angular-project-e900db08702e) - tl:dr 3 main modules
35
44
36
45
-**CoreModule** - only to be imported in Appmodule
37
46
38
47
- Auth Guard with basic check
39
-
40
48
- Basic Auth service (Refer model in model folder & change accordingly)
41
49
42
50
- login
@@ -88,42 +96,38 @@ make sure you have node and npm installed on your system before running below co
88
96
- successanderrorhandler
89
97
- refreshtokenhandler (inspiredfrom [RichFranzmeier'sblog](https://www.intertech.com/author/rich-franzmeier/ 'Posts by Rich Franzmeier'))
-Note: Tailwind's own purgecss only takes care of tailwind classes, for overall application, post-build purgecss is best (I will write an article explaining why)
-Superpowerdwith`Jest`forunittestingand`Cypress`fore2etesting (insteadofkarmaandprotractor). SpecialThankstocontributionby [@sjetha](https://github.com/sjetha) for this and eslint integration.
101
-
102
109
-ESLintintegratedasrecommendedbyAngular
103
-
104
-
-Prettierconfigured (withresolvedconflictsbetweenESLint) -noVSextensionbeingusedbyteam?runcommandtocheckiffollowsrules/runprettieronallinonego!Thanksto [@deekshithrajbasa](https://github.com/deekshithrajbasa) for this ✌🏻
105
-
110
+
-Prettierconfigured (withresolvedconflictsbetweenESLint) -noVSextensionbeingusedbyteam?runcommandtocheckiffollowsrules/runprettieronallinonego!Thanksto [@deekshithrajbasa](https://github.com/deekshithrajbasa) for this.
106
111
-Globalroute-loaderprogressbarontoplikegithub, using [ngx-loading-bar](https://github.com/aitboudad/ngx-loading-bar) package
0 commit comments