Getting Started
Relevant source files
The following files were used as context for generating this wiki page:Ever® Teams™ is an open-source Work and Project Management Platform. This guide provides instructions for setting up, running, and understanding the project structure. The platform is built as a monorepo managed by Nx and Turbo, and it comprises several applications, including a web app, mobile app, and browser extensions.
The Ever Teams frontend requires access to the Ever® Gauzy™ Platform API for its backend services. By default, it connects to the production API at https://api.ever.team, but it can be configured to connect to a self-hosted instance.
Sources: README.md:14, README.md:130-132, README.md:162-165
Technology Stack
The project utilizes a modern technology stack for building its various applications.
| Technology | Description |
|---|---|
| TypeScript | Primary programming language. |
| Nx & Lerna | Monorepo management tools. |
| Node.js | JavaScript runtime environment. |
| Next.js | React framework for the web application. |
| React | UI library for building user interfaces. |
| React Native & Expo | Frameworks for the mobile application. |
| Tailwind CSS | Utility-first CSS framework for styling. |
| shadcn/ui, Radix, HeadlessUI | UI component libraries. |
| Docker | Containerization for deployment and development. |
| DigitalOcean & Vercel | Hosting platforms. |
Sources: README.md:65-75, package.json:173-252
Project Structure
The repository is a monorepo containing multiple applications and shared packages. The main applications are located in the /apps directory.
This diagram shows the high-level structure of the monorepo, with distinct applications in the apps folder and shared code in the packages folder.
Sources: README.md:188-195, package.json:160-169
Key Directories
| Path | Description |
|---|---|
apps/web | The main Next.js web application, accessible at app.ever.team. |
apps/mobile | Expo (React Native) powered mobile application for iOS/Android. |
apps/desktop | An Electron-based desktop timer application. |
apps/extensions | Browser extensions built with the Plasmo framework. |
apps/server-web | An Electron-based web server that wraps and serves the Next.js frontend. |
packages/ui | Shared, "dumb" UI primitive components (e.g., buttons, inputs). |
apps/web/core/components | "Smart" UI components with business logic, organized by feature. |
apps/web/core/stores | Global state management atoms using Jotai, organized by domain. |
Sources: README.md:188-195, apps/server-web/README.md:3, apps/web/core/components/README.md:3-6, packages/ui/package.json:2
Running the Application
There are several ways to run the Ever Teams platform, from using pre-built Docker images to building everything from the source code locally.
Using Docker Compose
Docker Compose is the recommended method for a quick setup. The repository provides multiple configuration files for different scenarios.
This flowchart illustrates the different Docker Compose options for running the application.
Sources: README.md:90-111
-
Demo Mode: Uses pre-built Docker images from the
masterbranch. Ideal for exploring functionality.docker-compose -f docker-compose.demo.yml upSources: README.md:93-95, docker-compose.demo.yml
-
Production Mode: Also uses pre-built images but is configured for a production-like setup.
docker-compose upSources: README.md:96-98, docker-compose.yml
-
Local Build Mode: Builds all the code and Docker images from your local source. This is the slowest option but gives you the most control.
docker-compose -f docker-compose.build.yml upSources: README.md:99-101, docker-compose.build.yml
After running any of these commands, the web application will be available at http://localhost:3030.
Sources: README.md:104, docker-compose.yml:165-166
Manual Local Build
You can build and run the web application manually without Docker.
This diagram shows the sequence of commands for a manual local setup.
- Clone the repository:
git clone https://github.com/ever-co/ever-teams.git - Install dependencies:
yarn install - Run the development server:
Alternatively, for a production build:yarn start:web:devyarn build:web && yarn start:web - Open the application:
Navigate tohttp://localhost:3030in your browser.
Sources: README.md:135-140, package.json:30, apps/web/README.md:5-11
Running with a Self-hosted Backend
By default, the frontend connects to https://api.ever.team. To use a self-hosted Ever Gauzy backend, you must set the following environment variables in the .env file within the apps/web directory.
| Variable | Description | Example |
|---|---|---|
GAUZY_API_SERVER_URL | API URL for server-side rendering (Next.js server). | http://localhost:3000 |
NEXT_PUBLIC_GAUZY_API_SERVER_URL | API URL for client-side rendering (browser). | http://localhost:3000 |
Sources: README.md:146-152, docker-compose.yml:71-72
Build and Development Scripts
The root package.json contains numerous scripts for managing the monorepo, managed by yarn and turbo.
| Script | Description |
|---|---|
yarn build | Builds all packages and apps in the monorepo using Turbo. |
yarn start | Builds and starts the web application. |
yarn dev:web | Runs the web application in development mode with hot-reloading. |
yarn lint | Lints all packages in the monorepo. |
yarn test | Runs tests for all packages. |
yarn dep-graph | Generates a dependency graph of the monorepo using Nx. |
Sources: package.json:23-87
Deployment
The platform supports one-click deployments to various hosting providers. The README.md provides buttons and links for easy setup on these platforms.
- Vercel
- DigitalOcean
- Render
- Railway
- Fly.io
- Netlify
- Heroku
- Koyeb
- Northflank
Sources: README.md:170-186, northflank-template.json