create-stb 1.1.0 β†’ 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +64 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,28 +1,34 @@
1
- # Serverless Typescript Boilerplate by Sam Newhouse
1
+ # create-ntb
2
+
3
+ ## Serverless TypeScript Boilerplate by Sam Newhouse
2
4
 
3
5
  **A CLI to instantly scaffold a production-ready Serverless TypeScript Boilerplate.**
4
6
 
7
+ [![npm version](https://img.shields.io/npm/v/create-stb.svg)](https://www.npmjs.com/package/create-stb)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+
5
10
  ---
6
11
 
7
12
  ## πŸš€ Features
8
13
 
9
- - Scaffolds a serverless app with TypeScript, AWS, and DynamoDB.
10
- - Copies all template files, including configs and sample code.
11
- - Automatically updates project name in `package.json` and `serverless.yml`.
12
- - Installs dependencies for you.
13
- - Simple and fastβ€”no extra configuration.
14
+ - **Fast Setup** - Scaffold a complete serverless app in seconds
15
+ - **TypeScript Ready** - Full TypeScript support with AWS Lambda and DynamoDB
16
+ - **Zero Config** - Automatically updates project name and installs dependencies
17
+ - **Production Ready** - Includes all configs, sample handlers, and best practices
18
+ - **Local Development** - Docker Compose setup for local DynamoDB testing
19
+ - **Modern Stack** - Node.js 20.x, Serverless Framework, and AWS services
14
20
 
15
21
  ---
16
22
 
17
- ## πŸ“¦ Installation
23
+ ## πŸ“¦ Quick Start
18
24
 
19
- **Recommended: Use npx**
25
+ ### Using npx (Recommended)
20
26
 
21
27
  ```bash
22
28
  npx create-stb my-app
23
29
  ```
24
30
 
25
- Or install globally:
31
+ ### Global Installation
26
32
 
27
33
  ```bash
28
34
  npm install -g create-stb
@@ -37,39 +43,63 @@ create-stb my-app
37
43
  npx create-stb <project-name>
38
44
  ```
39
45
 
40
- This creates a directory `<project-name>` in your current folder.
46
+ This creates a new directory with your project name in the current folder.
41
47
 
42
- Example:
48
+ ### Example
43
49
 
44
50
  ```bash
45
- npx create-stb pineapple-api
51
+ npx create-stb <project-name>
46
52
  cd pineapple-api
47
53
  npm run offline
48
54
  ```
49
55
 
56
+ Your serverless API will be running at `http://localhost:3000`
57
+
58
+ ---
59
+
60
+ ## 🧩 What's Included
61
+
62
+ ### Project Structure
63
+
64
+ - βœ… **Serverless Configuration** - Pre-configured `serverless.yml` for AWS Lambda
65
+ - βœ… **TypeScript Setup** - Ready-to-use TypeScript configuration
66
+ - βœ… **DynamoDB Integration** - Local DynamoDB with Docker Compose
67
+ - βœ… **Sample Handlers** - Example Lambda functions to get started
68
+ - βœ… **Development Scripts** - `offline`, `build`, `deploy` commands
69
+ - βœ… **Code Quality** - Prettier configuration for consistent formatting
70
+ - βœ… **Environment Config** - `.env.example` for environment variables
71
+
72
+ ### Tech Stack
73
+
74
+ - **Runtime**: Node.js 20.x
75
+ - **Language**: TypeScript
76
+ - **Framework**: Serverless Framework
77
+ - **Cloud**: AWS (Lambda, DynamoDB, API Gateway)
78
+ - **Local Dev**: serverless-offline, Docker
79
+
50
80
  ---
51
81
 
52
- ## 🧩 What You Get
82
+ ## πŸ“‹ Requirements
53
83
 
54
- - Preconfigured `serverless.yml` for AWS and Node.js 20.x
55
- - TypeScript-ready project
56
- - Local DynamoDB scripts and sample handlers
57
- - Scripts: `offline`, `deploy`, `build`, etc.
58
- - Clean codebase, ready for development
84
+ - Node.js >= 20.0.0
85
+ - npm >= 10.0.0
86
+ - Git (for cloning the template)
59
87
 
60
88
  ---
61
89
 
62
90
  ## πŸ”— Links
63
91
 
64
- - [GitHub repository](https://github.com/SamNewhouse/create-stb)
65
- - [Report issues](https://github.com/SamNewhouse/create-stb/issues)
66
- - [NPM page](https://www.npmjs.com/package/create-stb)
92
+ - **[GitHub Repository](https://github.com/SamNewhouse/create-stb)**
93
+ - **[NPM Package](https://www.npmjs.com/package/create-stb)**
94
+ - **[Report Issues](https://github.com/SamNewhouse/create-stb/issues)**
95
+ - **[Template Repository](https://github.com/SamNewhouse/create-stb/tree/main/serverless)**
67
96
 
68
97
  ---
69
98
 
70
99
  ## 🀝 Contributing
71
100
 
72
- Pull requests, suggestions, and issues are welcome!
101
+ Contributions are welcome! Please feel free to submit a Pull Request.
102
+
73
103
  See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
74
104
 
75
105
  ---
@@ -77,3 +107,15 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
77
107
  ## πŸ“„ License
78
108
 
79
109
  MIT Β© [Sam Newhouse](https://github.com/SamNewhouse)
110
+
111
+ ---
112
+
113
+ ## πŸ’– Support
114
+
115
+ If you find this tool helpful, please consider:
116
+
117
+ - ⭐ Starring the [repository](https://github.com/SamNewhouse/create-stb)
118
+ - πŸ› [Reporting issues](https://github.com/SamNewhouse/create-stb/issues)
119
+ - πŸ’¬ Sharing feedback and suggestions
120
+
121
+ **Thank you for using create-stb!** πŸš€
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-stb",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "A CLI to quickly scaffold a Serverless TypeScript Boilerplate project.",
5
5
  "license": "ISC",
6
6
  "readme": "README.md",