10000 GitHub - SeaQL/sea-orm-rocket-starter: 🚀 Starter kit for using Rocket with SeaORM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

SeaQL/sea-orm-rocket-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeaORM Rocket Starter

This project intends to be a project template for you to clone and start writing a web service on the Rocket + SeaORM stack.

It exposes a REST API performing OLTP on a relational database (MySQL or Postgres).

It has unit tests (on SQLite) built-in as well as GitHub Actions for continuous integration.

Probably, some day, we will name this project template "Rust on Rocket" 🚀!

Requirements

Postgres >= 13

To seed the DB initially:

cargo run --bin seed

To run the app:

cargo run Use your API client to access the resources: http://127.0.0.1:8000/[resource_name]/[id]

To run the test:

cargo test

About

🚀 Starter kit for using Rocket with SeaORM

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0