Key Features • Key Technologies • Setup • Support • License
- Davinci 003 Prompt Suggestions
- DALL·E 2 Art Generation
- Azure Serverless Enviroment
- Azure Storage
- Next.JS
- TailwindCSS
- Redux
- Typescript
- Azure
- OpenAi API
- Terraform
The project contains a packages folder in the root directory of the project. This folder contains 3 subfolders: client, azure, and terraform. To use the project locally, you need to follow the below steps.
Before you begin, make sure you have the following installed:
Terraform CLIAzure CLINode.js
Open a terminal and navigate to the packages/terraform directory.
- Run
terraform initto initialize Terraform. - Run
terraform applyto create the Azure resources needed for the serverless functions. - Once the resources are created, you need to create a blob storage using either the Azure Storage extension in Visual Studio Code or the Azure Portal. Name the container
images.
- Open a terminal and navigate to the
packages/azuredirectory. - Copy the contents of the
.env.examplefile and paste them into a new file calledlocal.settings.json. - Fill in the values in the
local.settings.jsonfile. - Download the cloud settings using either the Azure Functions extension in Visual Studio Code or the Azure Portal.
- Add the following config to the local.settings.json file to enable CORS:
"Host": {
"CORS": "http://localhost:3000"
}
- Open a terminal and navigate to the
packages/clientdirectory. - Copy the contents of the
.env.examplefile and paste them into a new file called.env.local. - Fill in the values in the
.env.localfile.
Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying me a coffee, so I can dedicate more time on open-source projects like this :)
You can check out the full license here
This project is licensed under the terms of the MIT license
