I wanted to learn more about fullstack development and backend / frontends in general, so I thought I would start with a classic - the note taking app!
Requirements:
- Diesel CLI
- Npm
- Rust
Running:
- Make a .env file similar to below (or set environment variables)
cd frontend && npm install
npx vite build
cd ..
disel setup
diesel migration run
cargo run
Example /.env file:
DATABASE_URL="your_database_file.sqlite"
Todo:
- Basic Actix setup
- Database intergration
- Creating notes
- Retrieving notes
- Updating notes
- Deleting notes
- Frontend intergration
- [?] Tags / filtering (PostgreSQL)
- [?] Serve files from the server
Credits:
- The code - moi
- Moral support - Danub
- Fixing my dumb mistake - jub0bs
- UI Inspiration - Nikola Cvetkovski
- Tech stack inspiration - nelsontkq