Skip to content

Serverless Typescript Template for Koa.js ( or Express.js )

License

Notifications You must be signed in to change notification settings

cjaewon/serverless-koa-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-koa-template

Serverless Typescript Template for Koa.js ( or Express.js )

Install

npx degit cjaewon/serverless-koa-template sls-example

Scripts ( yarn )

Dev

yarn start
> sls offline

Deploy

yarn deploy
> sls deploy

Migration Koa.js to Express

// app.ts
import express from 'express';

const app = express();

app.get('/hello-world', (req, res) => {
  res.send('Hello World');
});

export default app;

Releases

No releases published

Packages

No packages published