create-skateboard-app 1.0.3 → 1.0.4
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.
- package/.claude/settings.local.json +2 -1
- package/CHANGELOG.md +5 -0
- package/README.md +20 -0
- package/bin/cli.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@ The fastest way to create a new [Skateboard](https://github.com/stevederico/skat
|
|
|
7
7
|
```bash
|
|
8
8
|
npx create-skateboard-app
|
|
9
9
|
cd my-app
|
|
10
|
+
cp backend/.env.example backend/.env
|
|
11
|
+
# Edit backend/.env with your database and Stripe credentials
|
|
10
12
|
npm run start
|
|
11
13
|
```
|
|
12
14
|
|
|
@@ -34,6 +36,7 @@ npx create-skateboard-app my-app
|
|
|
34
36
|
- 📱 Mobile responsive
|
|
35
37
|
- 🛣️ React Router
|
|
36
38
|
- 📦 Modern JavaScript
|
|
39
|
+
- 🗃️ Database selection (SQLite, PostgreSQL, MongoDB)
|
|
37
40
|
|
|
38
41
|
## Features Included
|
|
39
42
|
|
|
@@ -45,6 +48,9 @@ npx create-skateboard-app my-app
|
|
|
45
48
|
- Protected routes
|
|
46
49
|
- Mobile tab bar
|
|
47
50
|
- Customizable constants
|
|
51
|
+
- Interactive setup with app customization
|
|
52
|
+
- Color and icon selection
|
|
53
|
+
- Database configuration
|
|
48
54
|
|
|
49
55
|
## Requirements
|
|
50
56
|
|
|
@@ -52,6 +58,20 @@ npx create-skateboard-app my-app
|
|
|
52
58
|
- npm or yarn
|
|
53
59
|
- git, curl, or npx (for template download)
|
|
54
60
|
|
|
61
|
+
## Configuration
|
|
62
|
+
|
|
63
|
+
After creating your app:
|
|
64
|
+
|
|
65
|
+
1. Copy the environment template:
|
|
66
|
+
```bash
|
|
67
|
+
cp backend/.env.example backend/.env
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
2. Update `backend/.env` with your credentials:
|
|
71
|
+
- Database connection string (if using PostgreSQL/MongoDB)
|
|
72
|
+
- Stripe API keys
|
|
73
|
+
- Other environment-specific variables
|
|
74
|
+
|
|
55
75
|
## Contributing
|
|
56
76
|
|
|
57
77
|
Contributions are welcome! Please check out the [Skateboard repository](https://github.com/stevederico/skateboard) for more information.
|
package/bin/cli.js
CHANGED
|
@@ -463,6 +463,8 @@ async function main() {
|
|
|
463
463
|
|
|
464
464
|
log(`\n${colors.bold}Get started with:${colors.reset}`, 'yellow');
|
|
465
465
|
log(`\n ${colors.cyan}cd ${projectName}${colors.reset}`);
|
|
466
|
+
log(` ${colors.cyan}cp backend/.env.example backend/.env${colors.reset}`);
|
|
467
|
+
log(` ${colors.cyan}# Edit backend/.env with your credentials${colors.reset}`);
|
|
466
468
|
log(` ${colors.cyan}npm run start${colors.reset}`);
|
|
467
469
|
log(`\n${colors.yellow}Happy coding! 🛹${colors.reset}\n`);
|
|
468
470
|
|