Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.62 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.62 KB

README

Project Description

In this group project, Little Shop, our team worked on building an E-Commerce application using service-oriented architecture, where the back and front ends are separate and communicate via APIs.

System Dependencies and Tools

  • Ruby version: 3.2.2
  • Rails: 7.4.x
  • Database: PostgreSQL
  • Additional Gems: pry, debug, simplecov, rspec-rails, shoulda-matchers, faker, factory_bot
  • Testing/Sending HTTP requests: Postman

Essential Setup and Development Commands

  • Configuration: rails new little_shop -T -d="postgresql" --api
  • Database initialization: rails db:create db:migrate db:seed db:schema:dump
  • Run the test suite: bundle exec rspec
  • Run your development server: rails s

Learning Goals

  • Use ActiveRecord and SQL to write queries that deal with one-to-many database relationships
  • Expose API endpoints to CRUD database resources
  • Validate models and handle sad paths for invalid data input
  • Test both happy and sad path functionality based on JSON contracts
  • Use MVC to organize code effectively, limiting data logic in controllers and serializers
  • Time Management
  • Breaking down large projects into small pieces
  • Breaking down a problem into small steps
  • Practice individual research (reading documentation, articles, videos, mentors)

Contributors

Candice Cirbo https://github.com/CCirbo
Lito Croy https://github.com/litobot
Jim Macur https://github.com/jimmacur
Melchor De La Rosa https://github.com/MDelarosa1993
Terra Manning https://github.com/TDManning


Diagram showing data table relationships