Welcome! This repository contains the boilerplate for your technical assessment.
-
Clone the Repository: Clone this repository to your local machine.
-
Install Dependencies: Open your terminal in the project root and run:
npm install
-
Set Up Environment Variables: a. Create a copy of the example environment file:
cp .env.local.example .env.local
b. At the beginning of the assessment, you will be provided with an
OPENAI_API_KEY. Paste it into your newly created.env.localfile. -
Run the Development Server:
npm run dev
Open http://localhost:3000 in your browser to see the starting page.
Your goal is to build an "AI Story Generator" application that generates stories and persists the data in the browser's localStorage.
Please refer to the full assessment document for detailed user stories and requirements.
This boilerplate comes pre-configured with:
- Framework: Next.js 14+ (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui (initialized)
- AI Integration: Vercel AI SDK (
ai)
Good luck, and we look forward to seeing what you create!