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
Copy file name to clipboardExpand all lines: readme.md
+1-38
Original file line number
Diff line number
Diff line change
@@ -47,44 +47,6 @@ Run `grunt` for building, `grunt serve` for preview, and `grunt serve:dist` for
47
47
* oAuth integrations: `Facebook``Twitter``Google`
48
48
* Socket.io integration: `Yes`, `No`
49
49
50
-
## Project Structure
51
-
52
-
Overview
53
-
54
-
├── client
55
-
│ ├── app - All of our app specific components go in here
56
-
│ ├── assets - Custom assets: fonts, images, etc…
57
-
│ ├── components - Our reusable components, non-specific to to our app
58
-
│
59
-
├── e2e - Our protractor end to end tests
60
-
│
61
-
└── server
62
-
├── api - Our apps server api
63
-
├── auth - For handling authentication with different auth strategies
64
-
├── components - Our reusable or app-wide components
65
-
├── config - Where we do the bulk of our apps configuration
66
-
│ └── local.env.js - Keep our environment variables out of source control
67
-
│ └── environment - Configuration specific to the node environment
68
-
└── views - Server rendered views
69
-
70
-
An example client component in `client/app`
71
-
72
-
main
73
-
├── main.js - Routes
74
-
├── main.controller.js - Controller for our main route
75
-
├── main.controller.spec.js - Test
76
-
├── main.html - View
77
-
└── main.less - Styles
78
-
79
-
An example server component in `server/api`
80
-
81
-
thing
82
-
├── index.js - Routes
83
-
├── thing.controller.js - Controller for our `thing` endpoint
84
-
├── thing.model.js - Database model
85
-
├── thing.socket.js - Register socket events
86
-
└── thing.spec.js - Test
87
-
88
50
## Injection
89
51
90
52
A grunt task looks for new files in your `client/app` and `client/components` folder and automatically injects them in the appropriate places based on an injection block.
@@ -412,6 +374,7 @@ Use `grunt test:e2e` to have protractor go through tests located in the `e2e` fo
412
374
413
375
Keeping your app secrets and other sensitive information in source control isn't a good idea. To have grunt launch your app with specific environment variables, add them to the git ignored environment config file: `server/config/local.env.js`.
414
376
377
+
415
378
## Contribute
416
379
417
380
See the [contributing docs](https://github.com/DaftMonk/generator-angular-fullstack/blob/master/contributing.md)
0 commit comments