Skip to content

gcivil-nyu-org/team2-mon-fall25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Badges

main branch

Build Status Coverage Status

develop branch

Build Status Coverage Status

CollabDesk Frontend

React + TypeScript frontend for the CollabDesk collaborative workspace platform.

Setup

  1. Install dependencies:

    pnpm install  # or npm install
  2. Configure environment variables:

    Copy .env.development and update if needed:

    VITE_API_BASE_URL=http://localhost:8000
  3. Run the development server:

    pnpm dev  # or npm run dev

The app will be available at http://localhost:5173

Build for Production

pnpm build  # or npm run build

Built files will be in the dist/ directory.

Project Structure

src/
├── components/
│   ├── calendar/      # Calendar-related components
│   ├── dashboard/     # Dashboard components
│   ├── layout/        # Layout components (TopBar, Sidebar, etc.)
│   └── modals/        # Modal components
├── lib/
│   ├── api.ts         # API client and backend communication
│   ├── store.ts       # State management
│   └── useDarkMode.ts # Dark mode hook
├── App.tsx            # Main application component
├── main.tsx           # Application entry point
└── types.ts           # TypeScript type definitions

Tech Stack

  • React 19 - UI library
  • TypeScript - Type safety
  • Vite - Build tool and dev server
  • Tailwind CSS - Styling
  • date-fns - Date manipulation
  • axios - HTTP client

Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm preview - Preview production build
  • pnpm lint - Run ESLint

Environment Variables

  • VITE_API_BASE_URL - Backend API URL (default: http://localhost:8000)

CollabDesk Backend

Django REST API backend for the CollabDesk collaborative workspace platform.

Setup

  1. Create a virtual environment:

    cd collabdesk
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run migrations:

    python manage.py migrate
  4. Create a superuser (optional):

    python manage.py createsuperuser
  5. Run the development server:

    python manage.py runserver

The API will be available at http://localhost:8000

Project Structure

collabdesk/
├── manage.py
├── requirements.txt
├── collabdesk/          # Main project settings
├── events/              # Events app (calendar events)
├── users/               # Users app
└── workspaces/          # Workspaces app

API Endpoints

  • /api/events/ - Event management
  • /api/workspaces/ - Workspace management
  • /admin/ - Django admin interface

Testing

python manage.py test

Database

  • Development: SQLite (db.sqlite3)
  • Production: PostgreSQL (configured via environment variables)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7