| inclusion |
|---|
always |
このリポジトリは、日本のソフトウェア開発初心者向けにスペック駆動型の機能開発を紹介するためのものです。以下の原則に従って対応します:
| /* Imports from CDK */ | |
| import * as appsync from '@aws-cdk/aws-appsync'; | |
| import * as db from '@aws-cdk/aws-dynamodb'; | |
| /* Creating the API */ | |
| const api = new appsync.GraphQLApi(this, 'Api', { | |
| name: 'my-chat-app', // API name | |
| schemaDefinition: appsync.SchemaDefinition.FILE, // Type of schema | |
| schemaDefinitionFile: './schema.graphql', // location of schema | |
| authorizationConfig: { // authorization config |
| import React, { Component } from 'react'; | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| import { withAuthenticator } from 'aws-amplify-react'; | |
| import { XR } from 'aws-amplify'; | |
| import sceneConfig from './sumerian-exports'; | |
| XR.configure({ // XR category configuration |