Giter Site home page Giter Site logo

ecommeasy / ecommeasy Goto Github PK

View Code? Open in Web Editor NEW
61.0 3.0 39.0 16.16 MB

EcommEasy is React and Node.js based eCommerce platform.

License: MIT License

JavaScript 99.68% Shell 0.32%
hacktoberfest hacktoberfest19 mongodb ecommerce-application react shopping-cart e-commerce cart reactjs nodejs nodejs-api

ecommeasy's Introduction

EcommEasy - A seamless way to build your e-commerce application.

EcommEasy allows you to create production ready E-commerce Application built with React and Node.js.

Built with:

  • Node.js v8.9
  • Express
  • Babel
  • WebPack 4
  • MongoDB

Setup Instructions

EcommEasy Backend (API) Installation

  • Clone Git repository
git clone https://github.com/EcommEasy/EcommEasy.git
  • Go to EcommEasy app folder
 cd EcommEasy
  • Install dependencies
npm install
  • Setup database

Make sure to start MongoDB before run enything else. Create a directory for the database and pass the path to the dbpath

mongod --dbpath "yourpath"

Prepare database at this setup our database is empty. To add default data, indexes and access token we need to run:

npm run setup <email> <domain>

We don't have real domain, so we'll use our local domain:

npm run setup [email protected] http://localhost:3001

This script will add token with email [email protected] and my domain to http://localhost

  • Run Application

Start application in the background

pm2 start process.json

or you can start the app in your terminal:

npm start

At this setup, we have api running on port 3001 and available at http://localhost:3001

For example, here is the default store settings: http://localhost:3001/api/v1/settings

info: API running at http://localhost:3001
info: MongoDB connected successfully

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.