Skip to content

Akrati-2007/HerbChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# HerbChain - MongoDB (Mongoose) Starter This scaffold is similar to the previous functional starter but uses **MongoDB with Mongoose** for the backend. What's included: - backend/ (Node.js + Express + Mongoose) - frontend/ (React) - updated to use string IDs (_id) - blockchain/ (Solidity + Hardhat) unchanged - ai-fraud-detection/ example Quick run (backend): 1. Install MongoDB locally or use a cloud MongoDB Atlas cluster. 2. Copy `backend/.env.example` to `backend/.env` and set `MONGO_URI`. 3. cd backend && npm install 4. npm run dev Quick run (frontend): 1. cd frontend && npm install && npm start 2. If backend isn't on localhost:4000, set REACT_APP_API before starting: REACT_APP_API=http://yourserver:4000 npm start # HerbChain

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors