Skip to content

jinnyMcKindy/Ecommerce-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Internet shop on VueJs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published