Simple Messaging App created with v0 by Vercel
- Node.js 18+ installed
- npm or pnpm package manager
- Navigate to
frontenddirectory
cd frontend- Install dependencies
npm install
# or
pnpm install- Set up environment variables: Create a .env.local file in the
frontenddirectory
NEXT_PUBLIC_BACKEND=your_backend_url_here
- Run the development server or Run the production build
npm run dev
# or
npm run build
npm start- Navitagte to
backenddirectory
cd backend- Install dependencies
npm install
# or
pnpm install- Set up environment variables: Create a .env file in the
backenddirectory
PORT=your_port_here
DB_FILE=your_sqlite_db_file_here
- Run the server
npm start