This is a Next.js project with typescript, eslint, babel, prettierr, styled-component and serverless
Getting Started
install dependency
yarn
run the development server:
yarn dev
Open 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.
Deploy with Serverles
- install
Serverless
npm install -g serverless
- go to root workspace directory
- create
.env
file following
AWS_ACCESS_KEY_ID=1234
AWS_SECRET_ACCESS_KEY=1234
- deploy
serverless
// or
npx serverless
- use
--debug
for display logging