Skip to content

zhibeiTech/ai-story-generator

Repository files navigation

AI Story Generator (Frontend) - Technical Assessment

Welcome! This repository contains the boilerplate for your technical assessment.

🚀 Getting Started

  1. Clone the Repository: Clone this repository to your local machine.

  2. Install Dependencies: Open your terminal in the project root and run:

    npm install
  3. 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.local file.

  4. Run the Development Server:

    npm run dev

    Open http://localhost:3000 in your browser to see the starting page.

🎯 The Task

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.

🛠️ Tech Stack Provided

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!

About

for interview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors