Disclaimer: The code is a very rough hackathon code, especially commited by Igor Krupenja on 22.04 😄
- Make sure node v18 is installed.
- Install dependencies with
npm install
. - Add ChatGPT API key to
src/constants/env.ts
in the following format:
export const chatGptApiKey = 'sk-dummy-key';
TODO: This should be in .env
file in the future.
- Run the development server with
npm run dev
. - Open http://localhost:3000 with your browser to see the result.