Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TrilonIO/universal-nest
Nest + Angular Universal = ❤️ by @TrilonIO
https://github.com/TrilonIO/universal-nest
angular nestjs nodejs prerender ssr typescript universal
Last synced: 4 days ago
JSON representation
Nest + Angular Universal = ❤️ by @TrilonIO
- Host: GitHub
- URL: https://github.com/TrilonIO/universal-nest
- Owner: TrilonIO
- License: mit
- Created: 2018-02-05T20:27:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:42:33.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T15:46:09.007Z (3 months ago)
- Topics: angular, nestjs, nodejs, prerender, ssr, typescript, universal
- Language: TypeScript
- Homepage: https://trilon.io
- Size: 2.78 MB
- Stars: 297
- Watchers: 20
- Forks: 63
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nest & Angular Universal Starter
A minimal [**Nest**](https://github.com/nestjs/nest) and Angular starter for Universal using the
[Angular CLI](https://github.com/angular/angular-cli). If you're looking for the Angular Universal repo go to
[angular/universal](https://github.com/angular/universal).---
Made with :heart: by Trilon.io
---
## Getting Started
This demo is built following the [Angular-CLI Wiki guide](https://github.com/angular/angular-cli/wiki/stories-universal-rendering).
### Installation
- `npm i`
### Development (Client-side only rendering)
- `npm start` which will run `ng serve`.
### Development (Server-side rendering)
- `npm run dev:ssr`.
### Production
\*`npm run build:ssr && npm run serve:ssr`
- Compiles your application and spins up a Nest server to serve your Universal application on `http://localhost:4000`.
\*`npm run prerender`
- Compiles your application and prerenders your applications files
# License
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](/LICENSE)