Coder Social home page Coder Social logo

smmuiruri / sam_yolo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.45 MB

Dockerlize an e-commerce website that doubles-up as a dashboard where you can load retail products on to the site

Home Page: https://github.com/smmuiruri/sam_yolo

Dockerfile 1.56% JavaScript 75.20% HTML 2.62% CSS 20.62%

sam_yolo's Introduction

About

The application is an e-commerce website that doubles-up as a dashboard where you can load retail products on to the site. You can test out this functionality by adding a product through the provided form

Navigate to the repository at below link and clone it

https://github.com/smmuiruri/sam_yolo

Application comes with all prerequisites and therefore no need to install or run them

  • node
  • npm installed
  • npm started
  • mongo

The application is packaged into three containers which will automatically build and start upon running the start commands

  • client container (launched by Dockerfile inside Client folder)
  • backend container (launched by Dockerfile inside Client folder)
  • mongodb container (launched from docker-compose file in the main app directory)

Networking

-We have Client, API, and the Database, all running in separated containers with only one command. The three containers are interconnected in a bridge network -Client runs on ports 3000 -Api/backend runs on port 5000

Run the folllowing to start the app
  • docker-compose up --build (docker-compose file in the main directory of the app contains build and run orchestration)

####### Open the application using the localhost ip after spinning the app at http://0.0.0.0:8080

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

sam_yolo's People

Contributors

smmuiruri avatar

Watchers

 avatar

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.