SpaceFinder is a reference mobile app that allows users to book conference rooms, work desks, and other shared resources. The app showcases serverless authentication and authorization using the AWS platform.
The mobile front-end is built using the Ionic 3 framework and client libraries to call AWS services and mobile backend APIs. The backend APIs themselves are powered by AWS services. The backend APIs are built using a serverless architecture, which makes it easy to deploy updates, and it also means that there are no servers to operationally manage.
SpaceFinder is primarily developed and maintained by Jim Tran and Justin Pirtle, Solutions Architects at Amazon Web Services. The project code is released under the Apache 2.0 license. Please feel free to make use of the code in this project, and spread the word. We hope you enjoy it, and we certainly welcome all feedback, pull requests and other contributions!
A live demo of the SpaceFinder app was presented at AWS re:Invent 2017, the annual AWS cloud computing conference. The presentation provides useful context on the authentication and authorization flows that the app demonstrates. The YouTube recording of the session (53 minutes) is available here:
The Quickstart guide walks through setting up a demo environment (5 minutes) with a tutorial of key app flows (30 minutes). This lab is self-contained and cleans up after itself by un-deploying all auto-generated AWS resources.
For developers who want to dig deeper, we've also prepared a Developer Guide. The Developer Guide provides instructions on setting up the project pre-requisites manually in your developer environment.
SpaceFinder is built using the following AWS services:
Spacefinder uses a Serverless API built using Amazon API Gateway, Lambda, DynamoDB, and CloudFormation. The API has the following REST methods, and some methods can only be called by users with "Admin" privileges.
The mobile app is a hybrid mobile app, and is built on the Ionic 3 framework, which relies on Angular 4 and TypeScript 2. The hybrid mobile app can run on Android devices and iOS devices, as well as a modern web browser.
The app currently demonstrates the following user flows:
Sample users and location/resource data are created as part of the bootstrapping process, to make it easy for you to try out the user flows. Use the following users to login to the application. You may additionally create your own personal accounts.
Standard user
user1
Test123!
Admin user
admin1
Test123!
Enable the browser developer console (or remote debugging for Android) to view all of the log messages.
The log messages will show you all tokens retrieved as part of the sign-in process, as well as all API calls made and the corresponding authorization for each call.
by Paul Matthew Jaworski 保罗·马修·贾沃斯基(Paul Matthew Jaworski) 如何在AWS Lambda上构建无服务器NodeJS微服务 (How to build a serverless NodeJS microservice on AWS Lambda) 已淘汰 (DEPRECATED) Unfortunately, since I wrote thi
package 用于将serverless.yml转换为cloudformation的json文件,并将json文件,项目源码包等都放入指定目录(默认为.serverless),为项目部署做准备 基本命令 serverless package 命令参数 --stage 缩写为-s 用于指定部署的stage --region 缩写为-r 用于指定部署的region --package 缩写为-p
I am trying to access a bucket and all its object using AWS SDK but while running the code i am getting an error as Exception in thread "main" com.amazonaws.services.s3.model.AmazonS3Exception: Access
serverless.yml文件的作用 service: 声明一个serverless的service frameworkVersion:用于指定部署时需要的serverless版本,可以使用sls -v命令查看本地安装的serverless的版本 plugins:定义service用到的plugin provider: 定义云服务提供者,比如aws functions:在service中定义一个
1) 改变时区 root 用户在AWS EC2 系统时区改变, Linux上可以用 /usr/bin/tzselect 进行,然后 vi /root/.profile,加入以下一行 TZ='Asia/Shanghai'; export TZ servie cron restart 2)设置crontab 运行脚本 crontab -e 增加一行 00 22 * * * python /root/s
什么是 AWS Config? AWS Config 提供了关于您的 AWS 账户中 AWS 资源配置的详细信息。这些信息包括资源之间的关联方式以及资源以前的配置方式,让您了解资源的配置和关系如何随着的时间的推移而更改。 AWS 资源 是您可以在 AWS 中使用的一种实体,例如 Amazon Elastic Compute Cloud (EC2) 实例、Amazon Elastic Block S
aws-serverless-koa This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using the Koa.js application framework Installation $ npm install --save aws
Wild Rydes Serverless Workshops This repository contains a collection of workshops and other hands on content that will guide you through building various serverless applications using AWS Lambda, Ama
A crash course on Serverless Authentication/Authorization A short and easy boilerplate showcasing JWT auth with Nodejs, the Serverless framework, MongoDB and AWS Lambda. The auth folder has a VerifyTo
AWS Serverless Airline Booking Serverless Airline Booking is a complete web application that provides Flight Search, Payment, Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD
Serverless Java container The aws-serverless-java-container makes it easy to run Java applications written with frameworks such as Spring, Spring Boot, Apache Struts, Jersey, or Spark in AWS Lambda. S
AWS Serverless Ecommerce Platform Status: Work-in-progress. Please create issues or pull requests if you have ideas for improvement. The Serverless Ecommerce Platform is a sample implementation of a s