Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 696 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 696 Bytes

A quick starter backend application with Rust

What is the objective of this project?

This project was built to help quickstart Rust projects for backend servers.

Feature set of the backend server

  • REST API routes
  • Connection to a DB
  • Logging
  • Docker deployment

Developer notes

Dependency and linker setup for libpql (postgres C library)

On MacOS, the LIBRARY_PATH environment variable must be set.

export LIBRARY_PATH=/usr/local/opt/libpq/lib

Connection to local database

The DATABASE_URL environment variable must be set.

export DATABASE_URL=postgres://username:password@localhost:5432/diesel_demo