All Projects → hsharpsoftware → rust-realworld-example-app

hsharpsoftware / rust-realworld-example-app

Licence: other
Example Rust codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.

Programming Languages

rust
11053 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to rust-realworld-example-app

Laravel Realworld Example App
Exemplary real world backend API built with Laravel
Stars: ✭ 954 (+4921.05%)
Mutual labels:  crud, realworld
laravel-realworld-example-app
Exemplary RealWorld backend API built with Laravel PHP framework.
Stars: ✭ 34 (+78.95%)
Mutual labels:  crud, realworld
Golang Gin Realworld Example App
Exemplary real world application built with Golang + Gin
Stars: ✭ 1,780 (+9268.42%)
Mutual labels:  crud, realworld
servant-beam-realworld-example-app
Exemplary fullstack Medium.com clone powered by Servant and Beam
Stars: ✭ 33 (+73.68%)
Mutual labels:  crud, realworld
lumen-realworld-example-app
Exemplary real world backend API built with Lumen + MongoDB
Stars: ✭ 50 (+163.16%)
Mutual labels:  crud, realworld
node-github-publish
Publishes a file to a repository through the GitHub Contents API
Stars: ✭ 20 (+5.26%)
Mutual labels:  crud
now-cms
No description or website provided.
Stars: ✭ 15 (-21.05%)
Mutual labels:  crud
BloodMS
🔥 🔥 🔥 A blood management project. 🔥 🔥 🔥
Stars: ✭ 48 (+152.63%)
Mutual labels:  crud
java-crud-api
No description or website provided.
Stars: ✭ 24 (+26.32%)
Mutual labels:  crud
mongo-crud
CRUD API built with MongoDB and Express
Stars: ✭ 18 (-5.26%)
Mutual labels:  crud
SimplePHP
A small query builder project designed to assist daily routines and speed up the process of communicating with the database.
Stars: ✭ 14 (-26.32%)
Mutual labels:  crud
elm-spa-realworld
The RealWorld example app built with elm-spa!
Stars: ✭ 51 (+168.42%)
Mutual labels:  realworld
okta-spring-boot-react-crud-example
Simple CRUD with React and Spring Boot 2.0
Stars: ✭ 214 (+1026.32%)
Mutual labels:  crud
nodejs-simple-restfull-with-express
⚡ ExpressJS Rest API Sample
Stars: ✭ 19 (+0%)
Mutual labels:  crud
ionicfirebasecrud
An example of crud with Firebase and Ionic
Stars: ✭ 15 (-21.05%)
Mutual labels:  crud
dapper-repositories
CRUD for Dapper
Stars: ✭ 523 (+2652.63%)
Mutual labels:  crud
go-realworld-example-app
Exemplary real world application built with Go, Gin, and go-pg
Stars: ✭ 48 (+152.63%)
Mutual labels:  realworld
ionic4-angular8-crud-mobileapps-example
Ionic 4 Angular 8 Tutorial: Learn to Build CRUD Mobile Apps
Stars: ✭ 20 (+5.26%)
Mutual labels:  crud
crudlfap
MIRROR of yourlabs.io/oss/crudlfap
Stars: ✭ 20 (+5.26%)
Mutual labels:  crud
react-native-firebase-firestore-crud-example
React Native Firebase Tutorial: Build CRUD Firestore App
Stars: ✭ 24 (+26.32%)
Mutual labels:  crud

RealWorld Example App

Build status

Rust codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with Rust fast HTTP implementation Hyper in including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Rust community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

This is an application written in Rust using these crates:

  • Hyper - a fast HTTP implementation written in and for Rust
  • Tiberius - Microsoft SQL Server async Rust driver written in Rust
  • Serde - a framework for serializing and deserializing Rust data structures efficiently and generically
  • Reroute - A router for Rust's hyper framework using regular expressions
  • IIS - Set of helper functions for running web server written in Rust on Internet Information Services (IIS)

Getting started

Install Rust: https://www.rustup.rs/

Get Microsoft SQL Server 2017+. SQL Express Edition is OK (when released), Azure SQL Database is OK, LocalDB does NOT work. Make sure TCP is enabled on the Server (enabled in Azure SQL by default, disabled by default on local installations).

On the desired Microsoft SQL Server run database.sql script to create database Conduit and all the tables, functions etc.

Copy conduit - sample.toml to conduit.toml and set your connection string there. Please note the connection encryption must adhere to crate configuration in Cargo.toml see Tiberius documentation on Encryption. Default Cargo.toml configuration works for Azure SQL (encrypted; if using please make sure you add your local IP address to the firewall rules).

Build locally with integration tests:

  • ./locbld.cmd

Or run locally:

  • ./run.cmd

API URL: http://localhost:6767

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].