Skip to content

A starter boilerplate for a basic web backend application in Rust

Notifications You must be signed in to change notification settings

utkarsh867/rust-starter-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A starter boilerplate for a basic web backend application in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published