This is a repository for the final project of the Cloud Computing course.
Our system consists of a React front end, a Next.js API, and a SQL database hosted by Neon DB. React and Next.js are both written in TypeScript and this source code is then compiled into a set of lambda functions and deployed using Vercel.
Once compiled, the system consists of a main API as well as a series of lambda functions. These all interact with eachother using either GET
or POST
HTTP requests.
Function Name | Description | Path |
---|---|---|
Form Lambda | Handles form submissions from the customer | app/new/action.ts |
DB Lambda | Handles database interactions | model/client.ts |
ChatGPT Lambda | Handles interactions with OpenAI API (GPT-4o) | model/openai.ts |