Coder Social home page Coder Social logo

rails-engine-lite's Introduction

Rails Engine Lite

Screen Shot 2022-02-11 at 9 46 05 AM

languages rspec simplecov

Project Description

You are working for a company developing an E-Commerce Application. Your team is working in a service-oriented architecture, meaning the front and back ends of this application are separate and communicate via APIs. Your job is to expose the data that powers the site through an API that the front end will consume.

Learning Goals

Below are technical goals that you should be applying in this project. The priority of these goals are demonstrated using a star grading system. By the end of this project:

  • Student should have a functional understanding of the concept ⭐ ⭐ ⭐
  • Student should have a familiar understanding, but may still have questions ⭐ ⭐
  • Student should know of the concept, but need further resources to implement ⭐

Goals

  • Expose an API ⭐ ⭐ ⭐
  • Use serializers to format JSON responses ⭐ ⭐ ⭐
  • Test API exposure ⭐ ⭐ ⭐
  • Use SQL and AR to gather data ⭐ ⭐

Gems Utilized

  • gem 'jsonapi-serializer'
  • gem 'shoulda-matchers'
  • gem 'rspec-rails'
  • gem 'simplecov'
  • gem 'rspec-rails'
  • gem 'factory_bot_rails'
  • gem 'faker'

Setup

  • Git clone this repository
git clone [email protected]:WadeNaughton/rails-engine-lite.git
  • CD into the newly cloned repo
CD rails-engine-lite
  • Bundle the gems
bundle install
  • Migrate the database
rake db:{drop,create,migrate,seed}
  • Run the command below, then make sure the database exists
rails db:schema:dump
  • Make sure the database exists through the following steps:

run rails c, Enter Item.first, The first Item should have the name "Item Nemo Facere"

  • Run Localhost

rails s

Contributor


Wade (he/him)

💻 🤔 ⚠️ 👀

rails-engine-lite's People

Contributors

wadenaughton 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.