Skip to content

dhruvdabhi101/rusty-leaf-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Leaf Backend

This backend is written in rust and will be deployed with Shuttle

To run this project you need to install

  • Rust

  • Shuttle Runtime

  • Login with your shuttle account

  • Copy Mongodb URL and paste it to .env file as MONGO_URI (see .env.sample for more info)

  • run cargo shuttle run

Currently implemented Endpoints

  • GET /user/<username>
  • POST /user - to create new user ( registering )
  • POST /login - to login into the account ( gets JWT Token back as response )
  • POST pages/create-page - to create page, it will require JWT Token
  • GET pages/get-page/<username>/<slug> - to get the page

About

Backend for Rusty Leaf, built with blazingly fast Rust btw

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages