Skip to content

Backend Setup

Kavika edited this page Mar 29, 2024 · 2 revisions

Required Setup

Chaos is written in Rust, and uses PostgreSQL as its DB. Before you begin development, you will require the following software installed on your computer:

  • Rust
  • PostgreSQL

Getting Started

Installing Rust

To install Rust, go to this page and follow the setup instructions.

Installing PostgreSQL

To install PostgreSQL, download the EDB Installer and follow the setup instructions.

Setting up the project

Clone the project from GitHub.

Environment Variables

  1. Create a new file called .env in the backend folder.
  2. Populate it with required variables: DATABASE_URL and JWT_SECRET