A Next.js-based application for tracking and tracing coffee, built on the SettleMint platform. This app integrates Web3Auth for secure authentication, features an AI-powered search functionality, and uses the Ethereum Attestation Service (EAS) as its smart contract backend.
Check out the live demo of the application: Coffee Track and Trace Demo
- Coffee tracking and tracing system
- Web3Auth integration for blockchain-based authentication
- AI-powered search feature for efficient data retrieval
- Ethereum Attestation Service (EAS) as the smart contract backend
- Built with Next.js for optimal performance and SEO
- Bun installed on your system
- SettleMint platform access
- Web3Auth credentials
-
Clone the repository:
git clone https://github.com/your-repo/coffee-track-and-trace.git cd coffee-track-and-trace
-
Install dependencies:
bun install
-
Set up environment variables: Copy the
.env.example
file to.env.local
and fill in the required values:cp .env.example .env.local
-
Run the development server:
bun dev
-
Open http://localhost:3000 in your browser to see the application.
bun dev
: Start the local development serverbun build
: Build the application for productionbun start
: Start the production serverbun docker
: Build and push a new Docker image
You can start editing the app by modifying src/app/page.tsx
. The page auto-updates as you edit the file.
To deploy the application using Docker:
- Ensure you have Docker installed and configured on your system.
- Run the following command to build and push a new Docker image:
bun docker
For more detailed deployment instructions, refer to the project's deployment documentation.
- Next.js Documentation - learn about Next.js features and API.
- SettleMint Platform - explore the SettleMint blockchain platform.
- Web3Auth Documentation - learn about Web3Auth integration.
- Bun Documentation - discover more about the Bun JavaScript runtime.
- Ethereum Attestation Service - learn about EAS and its capabilities.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.