Dash Monorepo
Project Structure
This monorepo contains:
- Dash web application (root directory)
- Dash Component library (
packages/components
)
Quick Start
- Install dependencies:
npm install
- Start local development server:
npm start
- Visit
http://localhost:1050/home
- Visit
- Start Storybook:
npm run storybook
- Visit
http://localhost:6006/
- Visit
Development Setup Requirements
1. Node.js Environment
- Install
nvm
(recommended) or installnode
andnpm
directly
2. MongoDB Setup
Download MongoDB:
MacOS Installation
- Copy MongoDB binaries:
bash sudo cp /path/to/mongodb/bin/* /usr/local/bin/
- Create required directories:
bash mkdir -p ~/data/db
Windows Installation
- Run the installer
- Ensure "Add to Path" is selected during installation
3. Project Setup
- Create required directories:
bash mkdir -p src/server/public/files
- Install dependencies:
bash npm install
4. Running the Application
- Start MongoDB in a separate terminal:
bash mongod
If that fails, try:bash mongod --dbpath=/path/to/data/db
- Start the application:
bash npm start