Skip to content

REST API in Rust - Using Rocket to setup the API and Diesel to deal with the PostgresQL database.

Notifications You must be signed in to change notification settings

nlsnmr/rust-web-diesel-rocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-web-diesel-rocket

Creating a table

First set the DATABASE_URL to connect to Postgres with the below command or by adding/updating it to the .env file manually:

echo DATABASE_URL=postgres://postgres:password@localhost/rust-web-with-rocket > .env

About

REST API in Rust - Using Rocket to setup the API and Diesel to deal with the PostgresQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published