Rails Engine is an E-Commerce Application using a service-oriented architecture. The frontend and backend of this application are separate and communicate via APIs. The main objective of this project is to expose the data that powers the site through various API endpoints that the front end will consume.
- Expose an API
- Test API exposure
- Use serializers to format JSON responses
- Compose advanced ActiveRecord queries to analyze information stored in SQL databases
- Write SQL statements without the assistance of an ORM
Ruby 2.5.3
Rails 5.2.4.3
- Create a new directory called
rails-engine
(in this directory will live both the frontend and backend repos of this project) - cd into this directory
cd rails-engine
- Fork this repo
- Run
bundle install
- Run
rake db:{create,migrate,seed}
- If interested in running the frontend portion of this project in conjunction with the backend then clone this repo in the
rails-engine
directory - Follow the setup instructions in the README file found in the repository
- In order to view the project in the browser spin up two servers on different ports with the following commands (both commands are preceded by the directories in which they should run):
rails-engine -> rails s
rails_driver -> rails s -p 3001
Jesse Mellinger - LinkedIn