Skip to content

Latest commit

 

History

84 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fsharp-ecommerce

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.

eCommerce Preview


Backend

  • F#
  • Giraffe
  • MongoDB

Frontend

  • JavaScript
  • React
  • Redux
  • Ant Design

How to run

Prerequisites: MongoDB, .NET 8 SDK, and Node.js 20.19+ (or 22.12+) with npm.

  1. Clone this repo
  2. Export the MongoDB environment variable
    export MONGO_URL=mongodb://localhost:27017/
    
  3. Import the product data into MongoDB (openfoodfacts.csv has had the code column changed to _id)
    mongoimport --type tsv --db products -c products --ignoreBlanks --fieldFile=fieldtypes.txt --columnsHaveTypes --drop openfoodfacts.csv
    
  4. Start the backend
    cd Backend
    dotnet run
    
  5. Start the frontend
    cd Frontend/salt-frontend
    npm install
    npm start
    

About

Full-stack ecommerce prototype with an F#/Giraffe API and React/Redux frontend, backed by MongoDB

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages