A revolutionary new concept: an app that helps you keep track of the things you

Follow the instructions here to install the rust toolchain: Clone repo

To Do™

need to do

Setup

Rust Toolchain

Follow the instructions here to install the rust toolchain: https://rustup.rs/

This is very quick and painless.

This adds to your path:

  • rustc rust compiler - very rare that you invoke it directly
  • cargo rust package manager and build tool (think npm/yarn on steroids)
  • rustup rust toolchain manager (think nvm on steroids)

C/C++ toolchain - probably already installed

You probably already have this installed, but if you start getting errors for the next steps:

macOS
xcode-select --install
linux or WSL
# ubuntu/debian derived distros
sudo apt install build-essential

# arch derived distros
sudo pacman -Sy base-devel
windows 10

https://visualstudio.microsoft.com/visual-cpp-build-tools/

Clone repo

Clone this repo and change directories

git clone https://github.com/m-rutter/rust_todo.git

cd rust_todo

Install SQLx cli tool

Install the sqlx cli tool, which helps manage db migrations.

cargo install sqlx-cli

This will compile the sqlx-cli tool from source and put it in your ~/.cargo/bin directory, which should have been added to your path automatically via the rustup installer. If you ever want to remove it, just delete the ~/.cargo/bin directory.

Create Database

Create the sqlite database file within the project directory. Won't do anything to your global setup:

sqlx db create

Run migrations:

sqlx mig run

Run server

Will download dependencies and compile the project in debug mode, and afterwards run it immediately on http://localhost:3030/todos

cargo run --bin todo_server

Postman file

A postman file with all of the endpoints can be found within the repo as todos.postman_collection.json

Information - Updated Jun 07, 2022

Stars: 792
Forks: 30
Issues: 23
JSON

207

Full fake REST API generator

This project is heavily inspired by Serde for json parsing

Full fake REST API generator
JSON

591

JSON parser which picks up values directly without performing tokenization in Rust

This JSON parser is implemented based on an abstract that utilizes in memory indexing and parsing

JSON parser which picks up values directly without performing tokenization in Rust

JSON-E Rust data-struct paramter crate for lightweight embedded content with objects and much more

What makes JSON-e unique is that it extensive documentation and ease of use

JSON-E Rust data-struct paramter crate for lightweight embedded content with objects and much more

The current scope of this project is that of a basic live node

Auteur requires gst-plugins-rs and rust stable, and gives you a JSON API to view, schedule and remove Gstreamer nodes

The current scope of this project is that of a basic live node

Read JSON values quickly - Rust JSON Parser

AJSON get json value with specified path, such as project

Read JSON values quickly - Rust JSON Parser

JSON-RPC library designed for async/await in Rust

Designed to be the successor to tracking issue for next stable release (0

JSON-RPC library designed for async/await in Rust

monkey-json project is just for fun

I want to write JSON parser from the scratch

monkey-json project is just for fun

Rust JSON parsing benchmarks

This project aims to provide benchmarks to show how various JSON-parsing libraries in the Rust programming language perform at various JSON-parsing tasks

Rust JSON parsing benchmarks
Facebook Instagram Twitter GitHub Dribbble
Privacy