An event scheduling assistant written in Rust and React + TS
Find a file
2024-01-11 14:26:34 +02:00
.sqlx Add Dockerfile 2024-01-11 14:26:34 +02:00
.vscode Initial commit 2024-01-08 20:09:26 +02:00
frontend Fully operational 2024-01-11 12:52:41 +02:00
migrations Add Dockerfile 2024-01-11 14:26:34 +02:00
src Add Dockerfile 2024-01-11 14:26:34 +02:00
.env.example Initial commit 2024-01-08 20:09:26 +02:00
.gitignore Initial commit 2024-01-08 20:09:26 +02:00
build.rs Initial commit 2024-01-08 20:09:26 +02:00
build.sh Initial commit 2024-01-08 20:09:26 +02:00
Cargo.lock Add Dockerfile 2024-01-11 14:26:34 +02:00
Cargo.toml Add Dockerfile 2024-01-11 14:26:34 +02:00
Dockerfile Add Dockerfile 2024-01-11 14:26:34 +02:00
README.md Add Dockerfile 2024-01-11 14:26:34 +02:00

Setup For Development

Backend

  1. Create a PostgreSQL database
  2. Configure a .env in the project root directory ( following .env.example )
  3. Run cargo sqlx migrate run to run all migrations ( ensure you've created the database beforehand )
  4. cargo run

Frontend

  1. yarn install
  2. yarn dev ( or yarn build/yarn preview )

Docker Build Image

  1. Do Backend and Frontend setups first
  2. Run cargo sqlx prepare ( ensure .sqlx directory has been created. The one included in this git repo may be out of date. )
  3. docker build . ( or podman build . ) in root directory