Skip to content

BITOCTA/example-serverless-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

example-serverless-project

Overview

Sample serverless (using only serverless AWS services) project with simple users CRUD inside. Code is written in pure Python, while all of the insfrastructure is defined using Pulumi IaC tool.

Project architecture is described on the diagram below:

project architecture

Build

Go to backend/ folder and build using tasks.sh script.

cd backend
./tasks.sh build

If build is successful, you should have lib/ folder in every lambda folder in backend/api.

Deploy

Prerequisites

Pulumi installed. AWS CLI installed and configured. AWS profile configured.

How to

Login using pulumi (e.g to AWS S3 bucket).

pulumi login s3://

Go to the infra/ folder and create a new Pulumi stack.

cd infra
pulumi stack select dev --create

Deploy using Pulumi

pulumi up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •