Todolist powered by Rust, web3-based Authentication, Svelte, and MongoDB. It is built from scratch, with a responsive design and supports dark mode.
Sign up for a free MongoDB Atlas account. Create a .env file in the /server
directory with the following variables to allow the server to interact with your MongoDB collection:
MONGODB_URI="YOUR_MONGODB_URI"
DB_NAME="YOUR_DB_NAME"
COLLECTION_NAME="YOUR_COLLECTION_NAME"
Install the dependencies defined in Cargo.toml
file using the following command:
cargo build
You can now run the web server with the following command:
cargo run
To connect the app with the server, create a .env
file in the /app
directory with the following variable:
VITE_SERVER_URL="YOUR_SERVER_URL"
Install the app dependencies by running the following command:
npm install
Now, run the app on a development server with the following command:
npm run dev
Make sure you have Metamask installed and listen to Goerli
to interact with the dapp. If things go well, you should see this on your screen.