Getting Started
Quick Start
Section titled “Quick Start”Create a new project
Section titled “Create a new project”Create a new Cohera project by running the following command in your terminal:
npm create cohera@latestpnpm create coherayarn create coherabun create coheraThis will create a new project directory with all the necessary files and configurations for your platform.
During the setup process, you’ll be prompted to select which modules to include. See Choose your modules below for details on the available options.
Choose your modules
Section titled “Choose your modules”During project creation, you’ll be prompted to select which modules to include in your platform. You can select any combination of modules, or none at all to start with a minimal base.
Available Modules
Section titled “Available Modules”- Chat - Real-time messaging and conversations
- User Profiles - Member profiles and user management
- Posts - Content publishing and feeds
- Calendar - Event scheduling and calendar management
- Map - Location-based features and geographic data
- Media Library - File uploads, storage, and media management
Use the arrow keys to navigate, space to select/deselect, and enter to confirm your choices.
Modifying modules later
Section titled “Modifying modules later”You can add or remove modules at any time by running:
npx cohera module addpnpm cohera module addyarn cohera module addbun cohera module addThis will show the same module selection interface with your current selections pre-checked.
Start the development server
Section titled “Start the development server”When working locally, Cohera’s development server lets you preview your work and automatically refreshes your browser when you make changes.
Inside your project directory, run the following command to start the development server:
npm run devpnpm devyarn devbun devThis will log a message to your terminal with the URL of your local preview. Open this URL to start using your platform.
Next steps
Section titled “Next steps”Now that you have your platform running, learn more about:
- Project Structure - Understand how your Cohera project is organized
- Module Reference - Detailed documentation for each module
- Configuration - Customize your platform settings