This is a Next.js project with typescript, eslint, babel, prettierr, styled-component and serverless
install dependency
yarnrun the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.
- install
Serverless
npm install -g serverless- go to root workspace directory
- create
.envfile following
AWS_ACCESS_KEY_ID=1234
AWS_SECRET_ACCESS_KEY=1234
- deploy
serverless
// or
npx serverless- use
--debugfor display logging