davidzr / surrealdb-rocket-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rocket App with SurrealDB: TODO App

The project aims to build a basic web application using the Rocket framework, providing the following features:

  • Create and manage a list of tasks.

  • Mark tasks as completed.

  • Delete tasks.

  • Persist data using SurrealDB as the database backend.

    Run Dev

Requirements

Setup

  1. Clone the Repository: Clone the repository to your local machine.

  2. Start SurrealDB:

    surreal start memory -A --auth --user root --pass root --bind 0.0.0.0:8001

    SurrealDB

  3. Start the Rocket web server:

    cargo run

    Rocket

Usage

  • Visit http://localhost:8000 to use the application.
  • Add new tasks and mark them as completed.
  • Delete tasks as needed.
  • The data is persisted using SurrealDB.

About


Languages

Language:Rust 100.0%