GithubHelp home page GithubHelp logo

miguelba1 / placetogrow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidv99/placetogrow

0.0 0.0 1.0 1.6 MB

Placetogrow is a robust solution for the 2024 External School Challenge. Administrators can create and manage microsites for invoices, subscriptions, and donations. Users can complete transactions easily and securely through an optimized interface. Built with Laravel, InertiaJs, and Vue 3, adhering to best practices in code quality and CI/CD.

JavaScript 0.62% PHP 58.92% CSS 0.01% Blade 0.13% Vue 30.79% TypeScript 9.52%

placetogrow's Introduction

Placetogrow - Microsite Payment Platform

Description

Placetogrow is a platform that allows administrators to create and manage microsites for different types of payments (invoices, subscriptions, donations), and enables users to make payments in a simple and secure manner.

Technologies Used

  • PHP 8.2
  • Laravel 11.0
  • MySQL 8.0
  • InertiaJs with Vue 3.4.0 and TypeScript 5.0.2
  • Tailwind CSS 3.2.1
  • Headless UI 1.7

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/MiguelBa1/placetogrow
  2. Create the .env file from the .env.example file:

    cp .env.example .env
  3. Configure the necessary information in the .env file. Make sure to set the following variables:

    Database Connection

    • DB_CONNECTION
    • DB_HOST
    • DB_PORT
    • DB_DATABASE
    • DB_USERNAME
    • DB_PASSWORD

    Admin User

    • ADMIN_NAME
    • ADMIN_EMAIL
    • ADMIN_PASSWORD

    PlacetoPay Credentials

    • P2P_LOGIN
    • P2P_SECRET_KEY
    • P2P_URL
  4. Run composer install to install the dependencies.

  5. Run php artisan key:generate to set the APP_KEY value in the .env file.

  6. Run php artisan storage:link to make the images available to the application.

  7. Run php artisan migrate:fresh --seed to create the database tables and seed the database.

  8. Run php artisan serve to start the application.

  9. Run npm install and npm run dev to compile the assets.

Note: To use the image manipulation features in the application, the PHP gd extension must be enabled. Please ensure that this extension is enabled on your server.

Creating an Admin User

To access the admin panel, you need an admin user. You can create this user in one of the following ways:

  1. By filling in the admin user variables in the .env file as mentioned above.
  2. By running the following artisan command:
    php artisan create:admin {name} {email} {password}

This command allows you to directly create an admin user with the specified name, email, and password.

The system commands are defined in the routes/console.php file.

placetogrow's People

Contributors

miguelba1 avatar alejoab avatar vale0722 avatar

Forkers

andrextor

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.