getcampsite / Campkit
Licence: mit
Build serverless Node.js microservices fast
Stars: ✭ 124
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Campkit
Auto Remediate
Cloud Conformity Auto Remediate
Stars: ✭ 119 (-4.03%)
Mutual labels: serverless, lambda
Iopipe Js Core
Observe and develop serverless apps with confidence on AWS Lambda with Tracing, Metrics, Profiling, Monitoring, and more.
Stars: ✭ 123 (-0.81%)
Mutual labels: serverless, lambda
Aws Lambda Vpc Nat Examples
Example of setting up AWS lambda function with VPC and NAT
Stars: ✭ 92 (-25.81%)
Mutual labels: serverless, lambda
Stepfunctions2processing
Configuration with AWS step functions and lambdas which initiates processing from activity state
Stars: ✭ 90 (-27.42%)
Mutual labels: serverless, lambda
Json Serverless
Transform a JSON file into a serverless REST API in AWS cloud
Stars: ✭ 108 (-12.9%)
Mutual labels: serverless, lambda
Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+7879.84%)
Mutual labels: serverless, lambda
Serverless Layers
Serverless.js plugin that implements AWS Lambda Layers which reduces drastically lambda size, warm-up and deployment time.
Stars: ✭ 119 (-4.03%)
Mutual labels: serverless, lambda
Serverless Stack
💥 Serverless Stack (SST) is a framework that makes it easy to build serverless apps.
Stars: ✭ 1,252 (+909.68%)
Mutual labels: serverless, lambda
Zip It And Ship It
Intelligently prepare Node.js Lambda functions for deployment
Stars: ✭ 104 (-16.13%)
Mutual labels: serverless, lambda
Serverless Sharp
Serverless image optimizer for S3, Lambda, and Cloudfront
Stars: ✭ 102 (-17.74%)
Mutual labels: serverless, lambda
Next Starter
Next.js Starter using GraphQL, MobX (Next.js, TypeScript, Babel, Express.js, Apollo Client, React Apollo, React Apollo Hooks, GraphQL Codegen, MobX, mobx-state-tree, styled-components, next-optimized-images, Serverless Framework, AWS Lambda, Dotenv)
Stars: ✭ 90 (-27.42%)
Mutual labels: serverless, lambda
Node Lambda Log
Basic logging mechanism for Node 6.10+ Lambda Functions
Stars: ✭ 115 (-7.26%)
Mutual labels: serverless, lambda
Lambcycle
🐑🛵 A declarative lambda middleware with life cycle hooks 🐑🛵
Stars: ✭ 88 (-29.03%)
Mutual labels: serverless, lambda
Neardb
Simple document db made for infinitely scalable globally distributed reads.
Stars: ✭ 92 (-25.81%)
Mutual labels: serverless, lambda
Aws Serverless Airline Booking
Airline Booking is a sample web application that provides Flight Search, Flight Payment, Flight Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD. This web application was the theme of Build on Serverless Season 2 on AWS Twitch running from April 24th until end of August in 2019.
Stars: ✭ 1,290 (+940.32%)
Mutual labels: serverless, lambda
Lambstatus
[Maintenance mode] Serverless Status Page System
Stars: ✭ 1,323 (+966.94%)
Mutual labels: serverless, lambda
Historical
A serverless, event-driven AWS configuration collection service with configuration versioning.
Stars: ✭ 85 (-31.45%)
Mutual labels: serverless, lambda
S3 To Lambda Patterns
Example applications for the S3-to-Lambda patterns series in the AWS Compute Blog and learning path. Questions? @jbesw.
Stars: ✭ 95 (-23.39%)
Mutual labels: serverless, lambda
Aws Serverless Appsync Loyalty
Unicorn Loyalty: E-Commerce Serverless GraphQL Loyalty Sample App
Stars: ✭ 110 (-11.29%)
Mutual labels: serverless, lambda
⛺ Campkit
Build serverless Node.js microservices fast.
Intro
This project is under heavy development.
Campkit is an opinionated Node.js framework for building serverless microservices. It makes a bunch of decisions so that you don't have to. Currently it works best with aws lambda and the serverless framework.
Quick start
npx @campkit/cli create someServiceName
Features
- small & simple
- define your service as a class annotating it to provide configuration
- path and query parameters are automatically injected into the class method
- service discovery built in (coming soon)
Works with provider
- [x] Amazon Web Service - Lambda
At a glance
import { RestController, Get, Post } from "@campkit/rest";
@RestController({
basePath: "/user"
})
export class UserController {
@Get({
path: "/:id" // -> GET user/1234
})
getUserById({ params }) {
return {
id: params.id
};
}
@Post({
path: "/" // -> POST user/
})
createUser({ body }){
return {
user: body
};
}
Basic microservice
// index.js
import { CampkitFactory } from "@campkit/core";
import { UserApp } from "./user.app";
export const handler = async (event, context) => {
return await CampkitFactory.create(UserApp, { event, context });
};
// user.app.js
import { App } from "@campkit/core";
import { UserController } from "./user.controller";
@App({
name: "user",
restController: UserController
})
export class UserApp {
}
// user.controller.js
import { RestController, Get, Post } from "@campkit/rest";
@RestController({
basePath: "/user"
})
export class UserController {
@Get({
path: "/:id" // -> GET user/1234
})
getUser({ params }) {
return {
message: "get user by id",
id: params.id
};
}
@Post({
path: "/" // -> POST user/
})
createUser({ body }){
return {
message: "create a user",
userInfo: body
};
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].