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
{{ message }}
This repository was archived by the owner on Oct 12, 2024. It is now read-only.
This project is a starter project with Node at the backend (fully written in TypeScript) and Angular 6 on the client side.
5
+
This project is a starter project with Node at the backend (fully written in TypeScript) and Angular on the client side.
6
6
7
7
This repo shall allow you to instantly get started with a full stack project in place. Just connect it with your favorite database and you're good to go.
8
8
9
9
## Repo Features
10
10
11
-
-[x] Angular 6.1.6
11
+
-[x] Angular 6.1.10
12
12
-[x] Bootstrap
13
13
-[x] Lazy Loaded Routes
14
14
-[x] Angular Material
@@ -27,23 +27,19 @@ After cloning, run `npm install`
27
27
28
28
Run `npm run start` to spin front end code,
29
29
30
-
Run `npm run dev` to start the Node server in development mode
30
+
Run `npm run post-dev` to start the Node server in development mode
31
31
32
-
Navigate to `http://localhost:3015/`.
32
+
Navigate to `http://localhost:4200/`.
33
33
34
-
You can now seamlessly watch your changes reflect in realtime everytime you save your changes.
35
-
36
-
## Code scaffolding
37
-
38
-
Run `ng g c component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
34
+
You can now seamlessly watch your changes reflect in realtime everytime you hit save (Client + Server code).
39
35
40
36
## Production Build
41
37
42
-
Run `npm run build:prerender && npm run serve:ssr` to build the project
38
+
Run `npm run build:prerender`
43
39
44
-
Compiles the boiler application and spins up a Node Express to serve the Boiler Universal application on http://localhost:3015
40
+
Then `npm run serve:ssr`to start the server
45
41
46
-
`npm run build:prerender && npm run serve:prerender` - Compiles your application and prerenders your application's files, spinning up a demo http-server so you can view it on http://localhost:8080 Note: To deploy your static site to a static hosting platform you will have to deploy the dist/browser folder, rather than the usual dist
42
+
This spins up a prerendered Node server on http://localhost:3015
0 commit comments