Giter Club home page Giter Club logo

dshop's Introduction


open marketplace apps

Open marketplace apps are decentralized open source apps for smart cities and local communities.

Discord

IntroductionWarningUsagePlanned MilestonesRoadmapJoining the discussion


DShop

Dezentral Shop Application

🎯 Introduction

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.

👆 Usage

💫 Clone and Install

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

🌱 Development

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.

Running MongoDB

The easiest way to run the databse is with docker.

docker-compose up -d

environment variables

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"

🚀 Production

npm run build
npm start

💬 Joining the discussion

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.