GitXplorerGitXplorer
l

backtalk

public
156 stars
4 forks
10 issues

Commits

List of commits on branch master.
Unverified
941e456b3509f3a335f810540fffe9ab3befb78a

Remove note about generating docs, since they're hosted now

llord committed 8 years ago
Unverified
9054a8e831cc2905b05d2336aeb329c13fb08638

Add docs and crate badges to readme

llord committed 8 years ago
Unverified
04a749300f182511b36757a3ee267a94bfa8e163

Add license

llord committed 8 years ago
Unverified
efe781a03b3c73d4c6f14af9543eca4fad8def67

Add description and keywords

llord committed 8 years ago
Unverified
e79413701ea90232fc64daf3c93dfa7723e25c63

Add link to repo and docs

llord committed 8 years ago
Unverified
3d9dcceef68fa3458ce1a4fd0b618bd1767717d0

Update Hyper to 0.11, use queryst-prime crate instead of git

llord committed 8 years ago

README

The README file for this repository.

Backtalk: API Web Server
Build Status Crate Info Documentation

Backtalk is a web framework for Rust. Much is subject to change and it's not ready for writing production sites, but the structure is there, and I'm glad to answer questions/help out if the documentation isn't enough.

  • Asynchronous – use Futures for everything, handle thousands of concurrent connections.
  • Realtime – expose a streaming API, and push live events to clients.
  • Simple – only a couple hundred lines of code.
  • Opinionated – exclusively for JSON-based RESTful APIs.
  • Magicless – no macros, no unsafe, runs on stable Rust.

A simple server example:

let mut server = Server::new();
let database = memory::MemoryAdapter::new();
server.resource("/cats", move |req: Request| {
  database.handle(req)
});
server.listen("127.0.0.1:3000");

You can look in the examples directory for more information, or the blog post walking through the examples.

Inspiration

  • Feathers.js
  • Phoenix
  • Rocket.rs