Skip to content

putuedipuspayasa/demo-store

Repository files navigation

Implementing Service and Repository Pattern with Ruby on Rails for a Simple Online Store with iPaymu Payment Gateway Integration

This project is a simple online store developed using Ruby on Rails, highlighting the implementation of the Service and Repository patterns. The Service pattern encapsulates business logic, while the Repository pattern abstracts data access, fostering improved code organization, maintainability, and scalability. Additionally, the project seamlessly integrates with the iPaymu payment gateway, enabling secure and efficient payment processing.

Prerequisites

Make sure you have Ruby and Ruby on Rails installed on your system.

Installation

  1. Clone this repository to your system.
  2. Open a terminal and navigate to the project directory.
  3. Run the command bundle install to install all dependencies.
  4. Run the command rails db:create to create the database.
  5. Run the command rails db:migrate to run database migrations.

Usage

  1. Start the server with the command rails server.
  2. Open a browser and visit http://localhost:3000 to view the application.

Contributing

Feel free to open a pull request if you would like to contribute. Be sure to follow our contribution guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

Let's connnect on linkedin https://www.linkedin.com/in/i-putu-edi-puspayasa-1a8691a2/

Key

  • crud ruby on rails
  • service dan repository pattern ruby on rails
  • integrasi ruby on rails dengan iPaymu
  • toko online dengan ruby on rails
  • contoh kode ruby on rails

About

simple online store with Ruby on Rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages