api.rs
Sample rust API Project using , rocket, diesel with postgreSQL and more, please check cargo.toml
- Add database connection to environment run command
echo DATABASE_URL=postgres://postgres:Asdf1234@localhost/apidb > .env
Sample rust API Project using , rocket, diesel with postgreSQL and more, please check cargo.toml
echo DATABASE_URL=postgres://postgres:Asdf1234@localhost/apidb > .env