Getting Started
ReArch is a platform designed to help engineers rearchitect and modernize their systems. This guide will walk you through the basics of setting up your first project.
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have the following installed:
- Node.js v18 or later
- Bun v1.0 or later (recommended) or npm
- A GitHub account for repository integration
Quick Start
Section titled “Quick Start”1. Create a new project
Section titled “1. Create a new project”bunx create-rearch my-project2. Navigate to your project
Section titled “2. Navigate to your project”cd my-project3. Install dependencies
Section titled “3. Install dependencies”bun install4. Start the development server
Section titled “4. Start the development server”bun run devYour project should now be running at http://localhost:3000.
Project Structure
Section titled “Project Structure”A newly created ReArch project has the following structure:
my-project/├── src/│ ├── agents/│ ├── pipelines/│ └── config.ts├── tests/├── package.json└── rearch.config.mjs| Directory | Purpose |
|---|---|
src/agents/ | Agent definitions and configurations |
src/pipelines/ | Data processing pipelines |
src/config.ts | Main application configuration |
tests/ | Test files |
Next Steps
Section titled “Next Steps”Now that you have a running project, you can:
- Follow the Installation Guide for detailed setup options
- Read the Configuration Guide to customize your project
- Check the API Reference for available endpoints