Documentation
Home

Getting Started

Follow these steps to set up fe locally.

Prerequisites

  • Node.js 18+ installed
  • npm, yarn, or pnpm package manager
  • Git

Installation

1. Install CLI

bash
npm install -g @awangt/fe

2. Create a new project

bash
fe

3. Environment Setup

Copy the example environment file to create your local configuration.

bash
cd <project_name> && cp .env.example .env.local

4. Run the development server

bash
npm run dev

Open http://localhost:3000 with your browser to see the result.

Database Utils

If you are using MongoDB, you can seed the database with initial data:

bash
npm run mongo-seed