Skip to content

LukaLmelias/yolo

 
 

Repository files navigation

Usage

This project can be run in two methods:

  • Docker
  • Manual set-up

Running using Docker:

The only requirement in order to run using docker is of course docker which can be installed following this instructions

Once docker is installed; follow the following steps to start the app

  • 1 git clone this repo
git clone https://github.com/LukaLmelias/yolo.git
  • 2 Enter into yolo (the created directory)
cd yolo
  • 3 Start-up the app using docker compose
docker compose up 

If everything went well, you should be able to acess the app on: http://localhost:3000

Instructions on Manual set-up:

Requirements

Make sure that you have the following installed:

  • node
  • npm
  • MongoDB and start the mongodb service with sudo service mongod start

Navigate to the Client Folder

cd client

Run the folllowing command to install the dependencies

npm install

Run the folllowing to start the app

npm start

Open a new terminal and run the same commands in the backend folder

cd ../backend

npm install

npm start

Go ahead a nd add a product (note that the price field only takes a numeric input)

About

Nodejs, Express API and MongoDB e-commerce feature project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 71.2%
  • CSS 19.5%
  • Shell 4.7%
  • HTML 2.5%
  • Dockerfile 1.4%
  • Ruby 0.7%