A full-stack ecommerce prototype featuring product browsing, cart management, and search. Built with an F#/Giraffe REST API and a React/Redux frontend, backed by MongoDB.
- F#
- Giraffe
- MongoDB
- JavaScript
- React
- Redux
- Ant Design
Prerequisites: MongoDB, .NET 8 SDK, and Node.js 20.19+ (or 22.12+) with npm.
- Clone this repo
- Export the MongoDB environment variable
export MONGO_URL=mongodb://localhost:27017/ - Import the product data into MongoDB (
openfoodfacts.csvhas had thecodecolumn changed to_id)mongoimport --type tsv --db products -c products --ignoreBlanks --fieldFile=fieldtypes.txt --columnsHaveTypes --drop openfoodfacts.csv - Start the backend
cd Backend dotnet run - Start the frontend
cd Frontend/salt-frontend npm install npm start
