To run the backend for development, start a postgres Database
docker pull postgres
docker run --name postgresDB
-p 5432:5432
-e POSTGRES_USER=user
-e POSTGRES_PASSWORD=1234
-e POSTGRES_DB=wg_db
-d postgrescreate a .env file
DATABASE_URL=postgres://user:1234@localhost/wg_dbinitialize the database:
diesel migration runthen start the server (The backend is the default binary)
cargo runoptionally, set a logging level:
RUST_LOG=trace cargo runTo reapply the database migrations:
diesel migration redo -a
- user authentication
- welcoming
- shopping list
- cleaning list
- calender
- gallery
- guestbook
- Users
- shopping items
- appointments