Skip to content

bimberman/om

Repository files navigation

Om

A full stack Node.js and React shopping cart app

Technologies used

HTML5 CSS3 JS React PostgreSQL NPM Node.js Express.js Bootstrap AWS

Live Demo

Try the application live at: om.benimberman.com

Features

  • User can view a catalog of items for sale
  • User can view the details of an item
  • User can add an item to their cart
  • User can view their cart summary
  • User can place an order

Preview

Live demo

Development

System Requirements

  • Node.js 10 or higher
  • NPM 6 or higher
  • PostgreSQL 10 or higher

Getting Started

  1. Clone the repository
    git clone https://github.com/bimberman/om.git
    cd om
  2. Make a copy of the .env.example file, name the new file .env, and edit the file
    1. Edit the .env file as appropriate for your setup (for examaple if port 3000 is used by another program, then use a different port)
    2. Change the user to dev and password to lfz
    PORT=3001
    DEV_SERVER_PORT=3000
    DATABASE_URL=postgres://user:pass@localhost/om
    SESSION_SECRET=secret
    SESSION_EXPIRY=28800000
    
  3. Install all of the dependencies via NPM
    npm install
  4. Verify the postgresql service is running
    1. Please note that if the postgresql service is not running, then change STATUS with START in the following command
    sudo service postgresql status
  5. Start the project. Once started you can view the application by opening http://localhost:3000 in your browser.
    npm run dev

About

A full stack Node.js and React shopping cart app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages