Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.41 KB

File metadata and controls

50 lines (30 loc) · 1.41 KB

A starter AI quiz app using NextJS and Anthropic Claude

Resources

Branches

  • main - Auth uses better-sqlite3 adapter to maintain session information, calls Anthropic AI claude v1 using API key
  • rds-branch - Auth uses Aurora Serverless v2 cluster to maintain session information, calls Anthropic AI claude v1 using API key
  • bedrock-branch - Auth uses Aurora Serverless v2 cluster to maintain session information, calls Anthropic AI claude v2 using AWS bedrock

Architecture

Architecture

Getting Started

Pre-requisite

Local development

First, clone the repository and run:

npm install

Setup a .env file using the sample file at the root of the repository.

then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy the App

Run, copilot init and run through the flow.(selecting yes at the end of the flow will deploy the app as well)

we can run copilot deploy to deloy the app.