Skip to content

BRAVO68WEB/rust-shuttle-url-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

b68-ufm-mc

Trying out shuttle, a serverless rust microservice framework.

Plus Points

  • No need to care about database
  • Serverless
  • Fast deploy times

More Info

  • Uses Rocket as to create Web Server

What's Build here

A Url Shortener microservice

Create

curl -X POST -d '<URL>' https://b68-ufm-mc.shuttleapp.rs/

This returns shortened URL in the response

Project Structure

- src
    - main.rs
- migrations
    - main
        - create_table.sql
- Cargo.toml