Skip to content

Zapwap123/Book-Commerce-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Book-Commerce-Application

Book E-Commerce Application

Introduction

This is an Ecommerce Application built with MEVN (MongoDB, Express, Vue and Node) Stack.

The app has two(2) part named frontend and backend named respectively.

The frontend is the Vue Js application and the backend is the combination of Node Js, Express and a connection to the MongoDB database (cloud)


Requirements for running this application

1. You need to install node to be able to use npm in the command line.

2. Clone or download and extract the zipped application on your machine or PC

3. Frontend

  • Navigate to the ../frontend directory in your command line or right click on frontend if you are using VS Code and select open in integrated terminal
  • Type (npm install or npm i) this is to install the packages needed to run the frontend application.
  • Type (npm run serve) this will start the applicaton on port 3000, you may open http://localhost:3000 on your browser to view the frontend.


4. Backend

  • Navigate to the ../backend directory in your command line or right click on backend if you are using VS Code and select open in integrated terminal
  • Type (npm install or npm i) this is to install the packages needed to run the backend application.


4. MongoDB Connection

  • Create a MongoDB database
  • Copy the connection string
  • navigate to ..\backend\app.js file, on line 36 and replace the sting inbetween the '...' and then type your details including mongodb password to connect the application to your mongodb database
  • Type (npm start) this will start the backend applicaton on port 6080, at this point, frontend and backend applications are able to interact with each other.

Releases

No releases published

Packages

 
 
 

Contributors