Thanks to visit codestin.com
Credit goes to github.com

Skip to content

7elven/Next.js-Serverless-Typescript

Repository files navigation

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

  1. install Serverless
npm install -g serverless
  1. go to root workspace directory
  2. create .env file following
AWS_ACCESS_KEY_ID=1234
AWS_SECRET_ACCESS_KEY=1234
  1. deploy
serverless
// or
npx serverless
  • use --debug for display logging

About

Next.js Serverless Typescript with eslint, prettierr and styled-component config

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •