Open marketplace apps are decentralized open source apps for smart cities and local communities.
Introduction ◈ Warning ◈ Usage ◈ Planned Milestones ◈ Roadmap ◈ Joining the discussion
Dezentral Shop Application
This is a monorepo to create a decentralized eCommerce Shop written, for now in Javascript.
Warning:
This application is currently under development and is not yet ready to be used. It is currently feature incomplete and cannot be considered alpha.
When building for the first time, ensure to install dependencies first.
git clone https://github.com/open-marketplace-applications/dshop
cd dshop
npm install
cd frontend
npm install
You need to run the backend and the frontend in a seperate terminal.
Run this in the root folder:
npm run dev
And run this in the /frontend
folder:
npm run dev
Open your browser and open http://localhost:3000
Be sure your MongoDB is running and your environment variables
are set.
The easiest way to run the databse is with docker.
docker-compose up -d
Example Env File
MAX_PAYMENT_TIME=4320
JWT_SECRET = "TESTTEST42"
MONGO_URL="mongodb://localhost:27017/dshop-store"
PAYPAL_MODE='sandbox'
PAYPAL_CLIENT_ID=''
PAYPAL_CLIENT_SECRET=''
PORT=4000
MAX_AMOUNT=500
NODE_ENV=dev
WEBHOOK_URL=""
SENDGRID_USERNAME=""
SENDGRID_PASSWORD=""
debug=full
SH_PASSWORD="your-hardcore-stronghold-password"
npm run build
npm start
If you want to get involved in discussions about this application, or you're looking for support, go to the #anna channel on our Discord.