Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

๐Ÿš€ Starter kit for using Rocket with SeaORM

Notifications You must be signed in to change notification settings

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

Languages