Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).

---



Trilon.io - Angular Universal, NestJS, JavaScript Application Consulting Development and Training

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)