Code Monkey home page Code Monkey logo

monster_shop_extensions's Introduction

Monster Shop Extensions

BE Mod 2 Week 6 Individual Project

This application uses:

  • Ruby 2.4.1
  • Rails 5.1.7

Background and Description

In this project, I added additional functionalities to an existing repo (original monster_shop built with Rails).

Monster Shop a fictitious e-commerce platform and allows different types of users can log in and have access to different functionality. All user types have access to certain CRUD functionality for different resources. For example, regular users can add items to the cart, create orders, and cancel orders; admin users can enable and disable merchants and their items and ship orders that have been packaged. Ruby on Rails framework is used to build the application. ActiveRecord is used to make database inquiries. PostgreSQL is used to build the database.

Required functionalities

The project demonstrates the following concepts:

  • HTTP requests and responses facilitated by RESTful and non-RESTful routes
  • Separation of logic via MVC framework
  • Create one-to-many & many-to-many relationships between two tables
  • Use grouping and aggregate functions with SQL and ActiveRecord to obtain specific information from database
  • Use authentication and authorization to verify users and give certain users access to certain functionality
  • Registered users have one or more addresses associated with their profile and need an address to check out
  • Address can be changed on order page after order has been placed until an admin has shipped an order

Below is a snapshot of the project database via active designer (showing different types of relationships)

active_designer

Additional functionalities

  • Coupon management center allows merchant users CRUD functionality for coupons with discounts based on a percentage or dollar amount
  • Functionality regarding adding coupons to user orders is still in progress

Website

View the project at https://boiling-brook-97690.herokuapp.com/

  • To log in as a regular user, simply register for a new account or use username: [email protected] & password: password
  • To log in as a merchant user, use username: [email protected] & password: password
  • To log in as an admin user, use username: [email protected] & password: password

monster_shop_extensions's People

Contributors

joshsherwood1 avatar megstang avatar alect47 avatar cjkelling avatar brianzanti 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.