Skip to content

This page was made as a personal project in connection with an educational exercise.

This is NOT the official site of the company or brand identified on the page. The creator of this page is NOT affiliated with the company or brand in any way. DO NOT enter any personal information (such as logins, passwords or credit card numbers) on this site.

A Laravel-based clone of the Opay platform, featuring payment processing and user management features.

Notifications You must be signed in to change notification settings

thecertifiedcoder/opay-clone

Repository files navigation

Opay Clone

A Laravel-based clone of the Opay platform, featuring payment processing, user management, and an intuitive admin dashboard. This project aims to replicate the core functionalities of Opay, providing a full-fledged payment solution with a customizable backend.


Features

  • User Authentication: Register, login, and manage users with secure authentication.
  • Payment Gateway Integration: Process payments using popular payment APIs.
  • Admin Dashboard: Manage users, payments, and other platform settings.
  • Laravel Backend: Utilizes Laravel’s powerful features such as Eloquent ORM, routing, and security.
  • Blade Templating: Clean, responsive front-end powered by Blade.
  • Role-based Access Control: Separate user roles with different permissions for admin and regular users.
  • Notifications: Receive payment success/failure notifications.

Installation

Follow these steps to set up the project locally:

Prerequisites

  • PHP >= 8.0
  • Composer
  • Node.js and npm
  • MySQL or any other database supported by Laravel
  • Git

1. Clone the repository

Clone the repository to your local machine:

git clone https://github.com/certifiedcoder001/opay-clone.git
cd opay-clone

2. Install dependencies

Run the following commands to install the necessary PHP and JS dependencies:

composer install
npm install

3. Set up environment

Create a copy of the .env.example file:

cp .env.example .env

Then, open the .env file and configure your database and other settings as needed.

4. Generate application key

Generate the application key by running:

php artisan key:generate

5. Run migrations

Migrate the database to create all necessary tables:

php artisan migrate

6. Install assets

To compile your assets, run:

npm run dev

This will compile your CSS, JavaScript, and other assets.

7. Start the development server

Finally, serve the application:

php artisan serve

The application should now be available at http://localhost:8000.

Usage

Once the app is running, you can navigate through the following sections:

  • User Authentication: Register or login to your user account.
  • Payment Processing: Test payments and manage transaction statuses.
  • Admin Dashboard: Login as an admin to view and manage user and payment data.

Contributing

Contributions are welcome! You can help by reporting bugs, requesting features, or submitting pull requests.

  1. Steps to Contribute
  2. Fork the repository.
  3. Create a new branch (git checkout -b feature/your-feature).
  4. Make your changes and commit them (git commit -am 'Add new feature').
  5. Push to your forked repository (git push origin feature/your-feature).
  6. Create a pull request.

Please refer to our contribution guidelines for more details on contributing.

License

This project is open-source and available under the MIT License.

Acknowledgments

  • Laravel for providing a solid, secure backend framework.
  • Blade for creating beautiful, simple templates.
  • All contributors for making this project better!

About

A Laravel-based clone of the Opay platform, featuring payment processing and user management features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published