Skip to content

Technical Documentation

This section contains the technical documentation for Atlas intended for developers.

Are you a researcher? Check out instead:

Overview

Atlas is a TypeScript monorepo using Effect for functional programming and error handling.

Project Structure

atlas/
├── apps/
│   └── ecrin/              # SvelteKit Dashboard (Zero Trust)
├── packages/
│   ├── crf/                # REDCap client, server, CLI
│   ├── net/                # Network utilities
│   └── typescript-config/  # Shared TypeScript config
├── infra/                  # Kubernetes infrastructure
└── docs/                   # Documentation (this site)

Tech Stack

AreaTechnologies
RuntimeNode.js 20+, TypeScript 5.x
FrameworkEffect (functional programming)
FrontendSvelteKit 2, Svelte 5 (runes)
Package managerpnpm (workspaces)
BuildVite, tsup
TestVitest
LintESLint, Prettier
Kubernetesk3d (dev), k3s (prod), Cilium, SPIRE, OPA

Documentation by Domain

Atlas CRF (REDCap)

DocumentDescription
Client and serverREDCap integration with Effect
CLI ToolsCommand line tools

Atlas Citations

DocumentDescription
OverviewPackage architecture
Bibliographic sourcesClients by source
Atlas VerifyVerification system

Infrastructure

DocumentDescription
General architectureEffect patterns, ESLint, scripts
Zero Trust infrastructureKubernetes, security
Workspace conventionsRepository structure and naming rules

Audits

DocumentDescription
Dependencies auditInventory and update roadmap

Quick Start

Installation

bash
# Clone the repo
git clone https://github.com/univ-lehavre/atlas.git
cd atlas

# Install dependencies
pnpm install

# Start development
pnpm dev

Main Commands

bash
pnpm dev          # Development with hot-reload
pnpm build        # Build all packages
pnpm test         # Unit tests
pnpm lint         # Code verification
pnpm ready        # Complete pre-commit checks

REDCap Configuration

bash
# Environment variables
export REDCAP_API_URL=https://redcap.example.com/api/
export REDCAP_API_TOKEN=YOUR_32_CHAR_HEXADECIMAL_TOKEN

# Test the connection
pnpm -F @univ-lehavre/crf crf-redcap test

État des packages 7

PackageVersionReleasesPRsCommitsFichiersLignesTypesFonctionsTSDocTestsDernier commit
appwrite0.2.223163757531611Il y a 1 semaine
auth0.2.2231651291693039Il y a 1 semaine
errors0.2.223135804211816Il y a 1 semaine
logos1.1.112705800000Il y a 2 semaines
net1.0.15841662041165367Il y a 1 semaine
redcap-core1.1.223194369555485308662Il y a 1 semaine
validators0.2.22313378706849Il y a 1 semaine

Contributing

  1. Create a branch from main
  2. Make your changes
  3. Run pnpm ready to verify
  4. Create a Pull Request

See CONTRIBUTING.md for more details.