目录
目录README.md

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.
关于
192.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号