Giter Site home page Giter Site logo

jinnymckindy / ecommerce-shop Goto Github PK

View Code? Open in Web Editor NEW
8.0 0.0 5.0 3.73 MB

Internet shop on VueJs

License: MIT License

JavaScript 22.54% HTML 1.33% Vue 57.98% Dockerfile 0.89% Shell 0.01% Less 1.26% TypeScript 5.05% Starlark 0.55% Java 5.69% Ruby 0.69% Objective-C 4.02%

ecommerce-shop's Introduction

Ecommerce web application

Description

Demo

The front end of the single page application is written in VueJS, the back end uses NodeJS and MongoDB. The application displays a list of products received from a third-party API and then saved in the MongoDB database. Users can select products, add them to cart and order them. For the manager, there is an admin page for managing orders. The application is set up with Docker.

Required

Make sure you have MongoDB client, npm and last version of NodeJS set up on your local machine.

Note: App runs on the Ports 8080, 3000, 2017. Make sure they're free. Note: Application is still in development!

Build client Vue Cli

cd /client
npm run serve

Docker setup

docker-compose build
docker-compose up

Docker containers

  • client (Fronted app on VueJS runs on port :8090)
  • server (mongoose + expressJS runs on port :3000)
  • mongo (mongd server runs on port :27017)
  • mongo-setup (to fill MongoDB with data (products and admin), runs on port :8089)
  • WebSocket to dispatch orders (port :8999)
  • Mobile --port 9988

Lint errors

To lint errors in /client folder:

npm run lint

Aliexpress api

api

To parse items from Aliexpress run:

cd mongo-setup
node ./parse

This command will parse Aliexpress and automatically save parsed items to items.txt

Admin panel

You can login in /admin router with password: login: admin pass: 12345

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.