- http://34.125.60.138:80/
- note: this url will take you to the hosted website, however there is an error in the way that actix is handling 404's on the cloud. This error is causing the website to be completely blank and unusable.
- pull the github branch trunk
git pull git@github.com:snowmang1/culinary_ocean.git
- from the parent dir of culinary ocean build and run the docker instance with docker compose
docker-compose build && docker-compose up
- the compiled wasm is included
- the website can now be viewed from http://localhost:8080
- recipe database, cookbook social network.
- individual accounts for each person.
- family/friend groups.
- data: recipes, profiles, food pantry.
- use Vue.js on all pages to auto update
- use django to manage persisting data
- use foundation to style
- use rust wasm for image compression
- use Docker for hosting
- Backend: actix-web + Docker + rust-trunk
- Middleware: actix-web/rust
- Frontend: rust-yew + tailwindcss
database model using StarUML
Wireframe website using draw.io
- Login page built in yew
- actix hosting yew login page
- actix DB
- yew communicating with actix DB
- auth setup for yew login page
- yew account page with all information shown for user
- actix DB hosting information in sqlite DB for user
- yew user Dashboard
- actix DB for hosting Dashboard
- yew user upload for recipes
- actix upload recipe data to DB
- tailwindcss complete styling for all pages
- adaptive UI for Dashboard
- adaptive UI for Login
- I use cargo-make to compile there is an easy way to utilize my pipeline
- make sure to be in the app dir this is where development is done
- step 1: command
cargo make --makefile main_make.toml build
-
- this is for testing and build project
- step 1: command
cargo make --makefile main_make.toml run
-
- runs all rust unit test your build
-
- uses trunk to build wasm in frontend dir
-
- wasm is auto transferd to backend
-
- backend will compile and run unit tests
-
- backend will then start the actix server at here