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/fe2. Create a new project
bash
fe3. Environment Setup
Copy the example environment file to create your local configuration.
bash
cd <project_name> && cp .env.example .env.localConfiguration
Open
.env.local and populate the required API keys (Database, NextAuth, AI Providers). See the Environment Variables section for details.4. Run the development server
bash
npm run devOpen 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