Skip to content

Backend for Ink'd. AWS Gateway, Cognito, S3, etc. they all do the heavy lifting, all connected to Serverless.

License

Notifications You must be signed in to change notification settings

t-chris/inkd-backend

Repository files navigation

Inkd Backend

Usage

To run a function on your local

$ serverless invoke local --function hello

To simulate API Gateway locally using serverless-offline

$ serverless offline start

Deploy your project

$ serverless deploy

Deploy a single function

$ serverless deploy function --function hello

Environment Variables

To add environment variables to your project

  1. Rename env.example to .env.
  2. Add environment variables for your local stage to .env.
  3. Uncomment environment: block in the serverless.yml and reference the environment variable as ${env:MY_ENV_VAR}. Where MY_ENV_VAR is added to your .env file.
  4. Make sure to not commit your .env.

About

Backend for Ink'd. AWS Gateway, Cognito, S3, etc. they all do the heavy lifting, all connected to Serverless.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published