Kryat Docs Image

Installation

Prerequisites

Before you begin, make sure you have the following installed:

Step 1: Clone the Repository

git clone https://github.com/your-org/kikiwriting.git
cd kikiwriting

Step 2: Navigate to the Frontend Directory

cd frontend

Step 3: Install Dependencies

Using npm:

npm install

Step 4: Configure Environment Variables

  1. Create a .env.local file in the frontend directory
  2. Add the necessary environment variables:
NEXT_PUBLIC_API_URL=http://localhost:5001/api
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

Step 5: Start the Development Server

npm run dev

The application should now be running at http://localhost:3000.


## Available Scripts

- `npm run dev` - Start the development server
- `npm run build` - Build the production application
- `npm run start` - Start the production server
- `npm run lint` - Run ESLint to check code quality

On this page