pramendra / next-cloud-functions-typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Run dev

nvm use
npm i
npm run dev

Emulate as google functios

npm run build
npm run emulate

Development

Todo

[x] Bootstrap the standard nextjs project [x] Setup typescript

npm i -D typescript @types/react @types/node
npm run dev

[x] Setup eslint

npm i -D eslint eslint-config-react-app @typescript-eslint/eslint-plugin@^2.17.0 @typescript-eslint/parser@^2.17.0 babel-eslint@^10.0.3 eslint-plugin-flowtype@^3.13.0 eslint-plugin-import@^2.20.0 eslint-plugin-jsx-a11y@^6.2.3 eslint-plugin-react@^7.18.0 eslint-plugin-react-hooks@^1.7.0

[x] Setup prettier

npm i -D prettier --exact

[x] Setup jest

npm i -D jest ts-jest @types/jest
npx ts-jest config:init

[x] Setup express serveer for apis

npm i express

About


Languages

Language:TypeScript 83.3%Language:JavaScript 11.7%Language:Shell 5.0%