Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: AWS lambdas + Serverless #221

Closed
nezdemkovski opened this issue Dec 13, 2021 · 5 comments
Closed

Example: AWS lambdas + Serverless #221

nezdemkovski opened this issue Dec 13, 2021 · 5 comments
Labels
area: examples Improvements or additions to examples

Comments

@nezdemkovski
Copy link

Describe the feature you'd like to request

A starter example of basic usage of AWS lambdas + serverless framework.

Describe the solution you'd like

  • Turborepo
  • Few independent lambdas with serverless files
  • Would be nice to use a Prisma in one of the lambdas
  • ESLint
  • TypeScript

Describe alternatives you've considered

Currently I use NX on my project and I’m not super happy with it.

@jaredpalmer jaredpalmer added the area: examples Improvements or additions to examples label Dec 13, 2021
@antoinewg
Copy link

antoinewg commented Apr 30, 2022

Hello guys, big fan of turborepo. I'm very interested in setting up a basic starter example for backend services, combining those features:

  • using the serverless framework
  • in a monorepo (to share config/conventions)
  • turborepo also provides faster builds and remote caching 💯
  • in typescript
  • access to dynamodb or prisma
  • consistent formatting and linting (eslint/prettier)
  • fast installation (pnpm)
  • testing with jest (vitest)
  • using a shared library (for instance for handling errors, or logging)...

I've started here but any help is welcome https://github.com/antoinewg/turbo-serverless-typescript-starter :)

sokra pushed a commit that referenced this issue Oct 25, 2022
This implements `try_join_all` with `join_all`, making it respect the order of futures provided, as well as deterministically return the first error that occurred not by time, but by the future order.

This was preventing #212 from inserting script tags in a consistent order.

Test Plan: `cargo test`
@stepansib
Copy link

stepansib commented Oct 26, 2022

@antoinewg how can we hoist serverless framework and its plugins to the root level?
Briefly, I dont want to maintain different sls and plugin versions in different services.

@walterholohan
Copy link

@stepansib did you manage to achieve adding the sls dependecies to the root level?

@antoinewg
Copy link

@stepansib @walterholohan I've released v1.0.1 of my template. Would love some feedback if you have time.

But basically it's now working end to end with caching deployment (and testing included).
Some features coming in the pipeline, but at least it's a working example now. =)

@anthonyshew
Copy link
Contributor

Hey, everyone! We've made the decision recently that we're happy with where our examples are at for now. We're not planning on adding to or subtracting from the set we currently have for awhile (if ever).

One thing that we're categorically trying to avoid is that we don't want to have our examples be reaching into the infrastructural side of things. Infrastructure quickly becomes highly use-case-specific, highly variable, and too wide of an area for us to cover from both a knowledge and maintenance standpoint. The examples that we have shortcut you to the point of applications rather than deployments.

That said, happy to turn this into a discussion so folks can keep chatting and sharing notes.

@vercel vercel locked and limited conversation to collaborators Jan 16, 2024
@anthonyshew anthonyshew converted this issue into discussion #7009 Jan 16, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area: examples Improvements or additions to examples
Projects
None yet
Development

No branches or pull requests

7 participants