Git Product home page Git Product logo

sst-start-demo's Introduction

SST

Discord npm Build status


SST makes it easy to build modern full-stack applications on AWS. Watch the SST in 100 seconds video to learn more.

$ npx create-sst@latest

Pick your frontend

Deploy Next.js, Svelte, Remix, Astro, Solid, or any static site to AWS.

Add any feature

SST gives you the full power of AWS. Making it easy to add any feature to your product.

  • File uploads — Allow your users to upload files to S3.
  • Auth — Authenticate your users through any auth provider.
  • Events — Run tasks after your app has returned to your user.
  • Databases — Use a serverless SQL or NoSQL database to power your app.
  • Jobs — Run cron jobs or long running jobs powered by serverless functions.
  • APIs — Add a dedicated serverless REST, GraphQL, or WebSocket API to your app.

Collaborate with your team

Finally, you can git push to deploy using SEED, a service built by the team behind SST. And you can work on your apps together with your team with automatic preview environments.


Join our community Discord | YouTube | Twitter | Contribute

sst-start-demo's People

Contributors

fwang avatar jayair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rooster212

sst-start-demo's Issues

Fails out of the box

~/projects/niftmint/sst-start-demo master*                                                                                                                                                                                                         12:41:55 PM
❯ npx sst start

=======================
 Deploying debug stack
=======================

 ⏳  Bootstrapping environment aws://253140565358/us-east-1...
Trusted accounts:   (none)
Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
CDKToolkit: creating CloudFormation changeset...
[████████████████████████████████████████████████████▋·····] (10/11)


 ✅  Environment aws://253140565358/us-east-1 bootstrapped.
dev-sst-start-demo-debug-stack: deploying...
[0%] start: Publishing 5a07db3ec798475f65df916455e1273f5b751877099710e4d627b791fdb9acfd:current
[100%] success: Published 5a07db3ec798475f65df916455e1273f5b751877099710e4d627b791fdb9acfd:current
dev-sst-start-demo-debug-stack: creating CloudFormation changeset...
12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Disconnect7D6B12BD
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: adf715cc-a4ce-4536-9f40-9c0d002d270b)" (RequestToken: 78c6c9c7-e430-16a6-e2d8-c480e4547f11, HandlerErrorCode: InvalidRequest)

        new Function (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@aws-cdk/aws-lambda/lib/function.js:127:26)
        \_ addApiRoute (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/lib/DebugStack.js:69:26)
        \_ new DebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/lib/DebugStack.js:43:5)
        \_ Object.<anonymous> (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/assets/debug-stack/bin/index.js:15:1)
        \_ Module._compile (node:internal/modules/cjs/loader:1103:14)
        \_ Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
        \_ Module.load (node:internal/modules/cjs/loader:981:32)
        \_ Function.Module._load (node:internal/modules/cjs/loader:822:12)
        \_ Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
        \_ node:internal/main/run_main_module:17:47

12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Connect5B7625CA
[█████████▋················································] (4/24)

12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Disconnect
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: adf715cc-a4ce-4536-9f40-9c0d002d270b)" (RequestToken: 78c6c9c7-e430-16a6-e2d8-c480e4547f11, HandlerErrorCode: InvalidRequest)
12:44:17 PM | CREATE_FAILED        | AWS::Lambda::Function          | Connect
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 482cf282-0eca-41ed-9bb8-17ec3d5a768d)" (RequestToken: fc8d8fbc-5a8e-12db-a046-f3b9017f3e67, HandlerErrorCode: InvalidRequest)
12:44:18 PM | CREATE_FAILED        | AWS::Lambda::Function          | Default
Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 0470c0b2-4fd3-44db-88cc-55364623e3b2)" (RequestToken: ef6dfda0-c09a-b337-7860-a99abb839677, HandlerErrorCode: InvalidRequest)
12:44:19 PM | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack     | dev-sst-start-demo-debug-stack
The following resource(s) failed to create: [Disconnect7D6B12BD, Connect5B7625CA, Resource]. Rollback requested by user.

 ❌  dev-sst-start-demo-debug-stack failed: Error: The stack named dev-sst-start-demo-debug-stack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
    at Object.waitForStackDeploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/util/cloudformation.ts:321:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.deployStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/deploy-stack.ts:348:26)
    at CdkToolkit.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:194:24)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/serverless-stack.ts:99:15)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/index.js:25:10)
    at deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:402:15)
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:128:21)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)
Error: The stack named dev-sst-start-demo-debug-stack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
    at Object.waitForStackDeploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/util/cloudformation.ts:321:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.deployStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/api/deploy-stack.ts:348:26)
    at CdkToolkit.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/cdk-toolkit.ts:194:24)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/node_modules/sst-cdk/lib/serverless-stack.ts:99:15)
    at Object.deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/core/index.js:25:10)
    at deploy (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/util/cdkHelpers.js:402:15)
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:128:21)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)

Error: Failed to get the endpoint from the deployed debug stack dev-sst-start-demo-debug-stack
    at deployDebugStack (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:142:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.module.exports [as start] (/Users/msmyers/Sync/config/projects/niftmint/sst-start-demo/node_modules/@serverless-stack/cli/scripts/start.js:89:26)


~/projects/niftmint/sst-start-demo master*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.