Skip to content

A collection of several small recipes containing routes on most common use cases.

Notifications You must be signed in to change notification settings

frgomes/rocket-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rocket-recipes

A collection of several small recipes containing routes on most common use cases, employing Rocket, a Web Framework developed in Rust programming language.

Environment setup

Setting up a development environment for Rust is simple: it's a matter of installing and running rustup and that's it!. If you are on a Unix-like machine, this is all you need:

#!/bin/bash
curl https://sh.rustup.rs -sSf | sh

Note: Rocket requires the nightly tool chain at the moment. You can either setup the default toolchain globally or you per project. This is how you can do it:

rustup default nightly

Getting Started

Make sure you ran rustup as per instructions above.

Downloading and running these recipes is easy. Just follow the instructions below:

#!/bin/bash
mkdir -p $HOME/workspace
cd $HOME/workspace
git clone http://github.com/frgomes/rocket-recipes
cd rocket-recipes
cargo test

About

A collection of several small recipes containing routes on most common use cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages