# decipad
**Repository Path**: mirrors_euvl/decipad
## Basic Information
- **Project Name**: decipad
- **Description**: Everything Decipad
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-10-14
- **Last Updated**: 2026-03-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Decipad — Make sense of numbers
The open-source quantitative modeling and data notebook.
Decipad is a low-code notebook that helps you gather data, build interactive models, and share reports. This repository contains the source code for the Decipad application.
## Table of Contents
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Running the Application](#running-the-application)
- [Security](#security)
- [Environment Variables](#environment-variables)
- [Reporting Vulnerabilities](#reporting-vulnerabilities)
- [Development](#development)
- [Project Structure](#project-structure)
- [Important Scripts](#important-scripts)
- [Deployment](#deployment)
- [Continuous Integration](#continuous-integration)
- [Community](#community)
- [License](#license)
## Getting Started
Follow these instructions to get Decipad running on your local machine for development and testing purposes.
### Prerequisites
Before you begin, ensure you have the following installed:
- **Node.js**: Version 24.0.0 or higher. You can download it from the [official Node.js website](https://nodejs.org/en/).
- **Yarn**: We use Yarn for package management. If you don't have it, you can install it globally via npm:
```bash
npm install -g yarn
```
- **Rust and wasm-pack**: Some parts of Decipad are written in Rust and compiled to WebAssembly.
- Install Rust:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
- Install wasm-pack:
```bash
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
```
- **Git**: You'll need Git to clone the repository. You can [download it from the official website](https://git-scm.com/download).
### Installation
1. **Clone the repository:**
```bash
git clone https://github.com/decipad/decipad.git
cd decipad
```
2. **Install dependencies:**
```bash
yarn install
```
This command will install all the necessary packages for the monorepo.
3. **Set up environment variables:**
```bash
cp .env.example .env.local
# Create backend environment file
touch apps/backend/.env
# Edit .env.local with your actual API keys and secrets
# IMPORTANT: Set NEXTAUTH_URL to http://localhost:3000/api/auth and DECI_APP_URL_BASE to http://localhost:3000 in apps/backend/.env
```
### Running the Application
To run the frontend and backend services simultaneously, use the following command:
```bash
yarn start
```
This will start the development servers, and a browser window should automatically open with the application.
## Security
### Environment Variables
This project uses environment variables for all sensitive configuration. **Never commit real API keys or secrets to the repository.**
1. Copy `.env.example` to `.env.local`
2. Fill in your actual API keys and secrets
3. Never commit `.env.local` or any file containing real secrets
See [SECURITY.md](SECURITY.md) for detailed security information and best practices.
### Reporting Vulnerabilities
If you discover a security vulnerability, please report it responsibly:
1. **DO NOT** create a public GitHub issue
2. Email security concerns to: [security@decipad.com](mailto:security@decipad.com)
3. We will respond within 48 hours
## Development
This project is a monorepo managed with Nx. All applications and libraries are located in the `apps` and `libs` directories, respectively.
### Project Structure
- `apps/`: Contains the main applications, such as the frontend and backend.
- `libs/`: Contains shared libraries and modules used across different applications.
### Important Scripts
Here are some of the most common scripts you'll use during development:
- **Running tests:**
```bash
yarn test
```
- **Linting files:**
```bash
yarn lint
```
- **Formatting code:**
```bash
yarn format
```
- **Building all packages:**
```bash
yarn build
```
For more advanced commands and to leverage the full power of Nx, please refer to the [official Nx documentation](https://nx.dev/l/r/getting-started/nx-cli).
### Advanced Local Setup
For detailed instructions on setting up a local development environment, including AWS configuration, environment variables, and debugging, please see our [Local Setup Guide](docs/LOCAL_SETUP.md).
## Deployment
For instructions on how to deploy the application to AWS, please refer to our [Deployment Guide](docs/DEPLOYMENT.md).
## Continuous Integration
For instructions on how to set up a CI environment similar to our GitHub Actions workflows, please see our [CI Setup Guide](docs/CI.md).
## Community
We welcome contributions from the community! If you're interested in contributing, please take a look at our contributing guidelines (coming soon).
All members of our community are expected to follow our [Code of Conduct](docs/CODE_OF_CONDUCT.md).
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.