A simple todo app for Flock using AWS Lambda and API Gateway.
git clone [email protected]:flockchat/flock-todo-lambda.git
cd flock-todo-lambda
npm install
3. Setup app in FlockOS developer dashboard
Use schema.sql for this.
On creating FLockOS app, you will get app id and secret like following:
Put these and RDS credentials in config.js file
Use the "Upload .ZIP file' for 'Code entry type' and upload the zip of whole source code in the 'Function package' option.
Make sure you check "use Lambda Proxy Integration" checkbox.
You will get your API endpoint URL after deployment (the one shown in red box below).







