Skip to content

rubenvanstaden/rust-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Email Newsletter

A personal project to understand the entire workflow of Rust as a backend.

# Spin up the database
./scripts/init_db.sh

# Make sure environment is clean
cargo clean

# Run the intergration tests
cargo test

# Run test with log and correlation ID highlighted
TEST_LOG=true cargo test | grep request_id

# Run server
cargo run

# In another terminal curl the endpoint
curl -i -X POST -d '[email protected]&name=Alice' http://127.0.0.1:8000/subscriptions

About

Email newsletter written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages