Rust and Javascript Notes Web App.
Backend: cd backend, cargo run
Frontend: cd frontend, python3 -m http.server 3000
Go to http://localhost:3000/
cd frontend-react.- If it is your first time:
npm install - For development:
npm run dev, then go tohttp://localhost:5173/
For build:npm run build,npm run preview, then go tohttp://localhost:4173/
The backend is a Rust HTTP server (Using only serde (for JSON serialization and deserialization), bcrypt (for password hashing), rand (for random numbers) and std) that serves a notes API with create/update/delete and persists notes to backend/data/note.json. The frontend is a dependency‑free static HTML/CSS/JS page that calls the API, served with a simple static file server on port 3000.
To run the backend, you need cargo installed. You can learn about that here: https://doc.rust-lang.org/cargo/getting-started/installation.html.
To run the frontend, you need python installed.
frontend-react was created using npm create vite@latest frontend-react -- --template react