npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-full-sls-app

v1.8.0

Published

Serverless boilerplate CLI tool: GitLab and GitHub CI/CD, DataDog, Multi-Region, and many more setups. Ready-to-deploy in a few seconds!

Downloads

119

Readme

Serverless Full Boilerplate

This is a CLI tool to create Serverless boilerplate applications. Ready to deploy in a few seconds.

Usage

npm i -g create-full-sls-app
create-full-sls-app

or

npx create-full-sls-app

Answer the questions. It will create a directory of with the name you gave for your project.

cd your-project-name

yarn
yarn domain:create:dev
yarn deploy:dev

or run in your local:

yarn start:local

What's included?

Command Options List

| name | type | default | description | | ---------------------- | ------------- | ----------------------- | ------------------------------------------------------------ | | template | choices | serverless-full-sls-app | | | name | strict-string | required | Project name (e.g dummy-service) | | organization | strict-string | required | Organization name (e.g finn-auto) | | gitSetup | choices | GitLab | Options: GitLab, GitHub | | mainBranch | choices | main | Options: main, master | | enableSonarCloud | bool | Y | Setup SonarCloud (Y/n) | | enableMultiRegion | bool | Y | Add us-east-1 and enable multi-region (Y/n) | | enableDataDog | bool | Y | Enable DataDog in the setup (Y/n) | | dataDogArnEuCentral | string | empty | DataDog EU ARN (only if DataDog is enabled) | | dataDogArnUsEast | string | empty | DataDog US ARN (only if DataDog and multi-region is enabled) | | memorySize | number | 256 | Memory Size of Lambda in MB | | timeout | number | 10 | Timeout of API endpoints in seconds | | minimumCompressionSize | number | 1024 | Minimum Compression Size of API Gateway in MB | | maxRequestsPerSecond | number | 100 | API Gateway Throttling Maximum Requests Per Second setting | | maxConcurrentRequests | number | 50 | API Gateway Throttling Maximum Concurrent Requests setting | | developmentUrl | string | dev-service.domain.com | Development service URL | | productionUrl | string | service.domain.com | Production service URL |

Example:

npx create-full-sls-app --template=serverless-full-sls-app --name=dummy-name --organization=dummy-org --gitSetup=GitLab --mainBranch=main --enableSonarCloud --enableMultiRegion --enableDataDog --dataDogArnEuCentral=dummyArn --dataDogArnUsEast=dummyArn --memorySize=1024 --timeout=20 --minimumCompressionSize=1024 --maxRequestsPerSecond=200 --maxConcurrentRequests=50 --developmentUrl=dev-service.domain.com --productionUrl=service.domain.com

Development

yarn build
yarn start

Contribution

Feel free to create a PR to add a new feature or update the current tool. :)


Author: Emin Bugra Saral <3