Skip to content

alizahid/tote

Repository files navigation

Tote

Tote is an Azure Functions starter kit.

Features

Prerequisites

Guide

  1. yarn to install dependencies
  2. yarn start to fire up Docker and Webpack
  3. Open http://localhost:7071/api/hello in your browser or REST client

Docker config

If you plan to use multiple instances of this project locally, rename the containers in docker-compose.yml.

Adding functions

To create a function, duplicate the ./src/hello directory, rename to what you want, and add an export in ./src/index.ts.

You also need to update ./src/newFunc/function.json with the new entrypoint and perhaps methods to refect what kind of function it is.

Environment variables

Create a .env file at the project root and add your config there. You will have to restart Docker for the changes to reflect.

Developing

Look at the docs for tote-lib to find out more options about the Func class.

About

Azure Functions starter kit with TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published