Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 692 Bytes

readme.md

File metadata and controls

35 lines (22 loc) · 692 Bytes

Netlify Microservice Function

Requirements:

  • netlify-cli

  • git/github

  • Clone this Repo

git clone https://github.com/thriftshop-site/template MICROSERVICE_NAME
cd  MICROSERVICE_NAME
  • cp .env.example .env anad edit .env

  • Create New API Function

netlify functions:create --name api
  • Install Any NPM Dependencies
npm install package1 package2 package3
  • Update netlify.toml template variable

  • Modify 1 Click Deploy URL

  • Replace Button URL With Your Repo Link https://app.netlify.com/start/deploy?repository=https://github.com/thriftshop-fn/MICROSERVICE_NAME

  • Modify template-readme.md and save it as readme.md