Skip to content

usmakestwo/memento-mori-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Project Creation

An application to automate project creation on Github

Architecture

Memento Mori Universitas

Install/Run Python Application - Locally

  1. Activate shell pipenv shell

  2. Install dependencies pipenv install

  3. Populate ACCESS_TOKEN and ORG and *GCP Credentials *in init.sh and run exporting the variables

source ./config/init.sh

  1. Run application python main.py

Run infrastructure - Cloud Functions

  1. Run source ./config/init.sh

  2. Run terraform install

  3. Deploy infrastructure terraform apply

  4. The following services will be available

Fetch records

GET https://us-east1-memento-mori-universitas.cloudfunctions.net/gcp-read-courses-cf

Save records

POST https://us-east1-memento-mori-universitas.cloudfunctions.net/gcp-write-courses-cf -d '{"name": "Learning Something", "description": "What or why are we learning this"}'

Update records status

POST https://us-east1-memento-mori-universitas.cloudfunctions.net/gcp-update-courses-cf -d '{"id": "123", "source": "backlog", "target": "wip"}'

Reference:

About

Cloud functions deployed in GCP for Memento Mori client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published