8.1.0 • Published 4 years ago

@ng-toolkit/serverless v8.1.0

Weekly downloads
1,341
License
MIT
Repository
github
Last release
4 years ago

Maintainability Test Coverage Build Status Dependency Status Backers on Open Collective Sponsors on Open Collective npm version

Serverless support for your Angular application Tweet

Star it and share with others!

This is part of the @ng-toolkit project. Check main page for more tools

Add serverless support (AWS Lambda; Google Cloud Functions & Firebase) to your Angular project. Supports as well client-side-only projects as Angular Universal projects (server side rendering). Check deep overview article on Medium

Live demo

Angular Universal PWA on AWS Lambda + API Gateway

Content

Getting started

Create or navigate into your project:

ng new myApp
cd myApp

AWS Lambda & Google Cloud Functions

ng add @ng-toolkit/serverless --provider aws

Deploy to "maintenance link" (non customized - ie: https://123456.execute-api.eu-central-1.amazonaws.com/production)

npm run build:serverless:deploy

Deploy to customized link (example.com):

npm run build:prod:deploy

You can read more about using custom domain in AWS Lambda in this Medium post or in the official AWS documentation.

Firebase

ng add @ng-toolkit/serverless --provider firebase --firebaseProject [your_project_ID]
npm run build:prod:deploy

Project ID, can be found in project settings: where to find project ID

You can chain this package with:

Options

This schematic supports several options in order to fit your needs.

nametypedefaultdescription
providerstring'aws'Specify serverless provider.
skipInstallbooleanfalseSkip installation of dependencies.
directorystring'.'The directory name to create the workspace in.
firebaseProjectstringFirebase project id.
lambdaTSbooleanfalseGenerate lambda files using Typescript instead of Javascript.
offlinebooleanfalseInclude serverless-offline package for local development.

Looking for something more?

Feel free to create issue with your feature request

Support @ng-toolkit/serverless

You can support development of this project via:

If you want, you can be listed on the List of donors on the demo page.

Open Collective Backers

Support this project with a monthly donation and help us continue our activities. [Become a backer]

Open Collective Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Credentials

  • Checkout my home page and find out more about me
8.1.0

4 years ago

8.0.3

4 years ago

8.0.2

5 years ago

8.0.1

5 years ago

7.1.2

5 years ago

7.1.1

5 years ago

7.1.0

5 years ago

1.1.51

5 years ago

1.1.50

5 years ago

1.1.49

5 years ago

1.1.48

5 years ago

1.1.47

5 years ago

1.1.46

5 years ago

1.1.45

5 years ago

1.1.44

5 years ago

1.1.43

5 years ago

1.1.42

6 years ago

1.1.41

6 years ago

1.1.40

6 years ago

1.1.39

6 years ago

1.1.38

6 years ago

1.1.37

6 years ago

1.1.36

6 years ago

1.1.35

6 years ago

1.1.34

6 years ago

1.1.33

6 years ago

1.1.32

6 years ago

1.1.31

6 years ago

1.1.30

6 years ago

1.1.29

6 years ago

1.1.28

6 years ago

1.1.27

6 years ago

1.1.26

6 years ago

1.1.25

6 years ago

1.1.24

6 years ago

1.1.23

6 years ago

1.1.22

6 years ago

1.1.21

6 years ago

1.1.20

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.16

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.8

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago