Skip to content

ratsmusic/p2pnew

 
 

Repository files navigation

Laravel Project

This is a basic Laravel project.

Requirements

  • PHP >= 8.2
  • Composer
  • MySQL or any other database supported by Laravel
  • Node.js and npm (for frontend assets)

Installation

  1. Clone the repository:

    git clone https://github.com/FahadJrdev/p2p.git
    cd p2p
  2. Install dependencies:

    composer install
    npm install
  3. Create a .env file:

    Copy the .env.example file to .env:

    cp .env.example .env
  4. Generate an application key:

    php artisan key:generate
  5. Configure the .env file:

    Set your database credentials and other configuration in the .env file.

  6. Run migrations:

    php artisan migrate
  7. Run the development server:

    npm install
    npm run build
    php artisan serve

    You can now access your Laravel application at http://localhost:8000.

Authentication

Laravel includes a simple way to scaffold basic login and registration views and routes:

  1. Generate authentication scaffolding:

    php artisan make:auth
  2. Run migrations (if not already done):

    php artisan migrate

Frontend

  1. Compile assets:

    npm run dev

    For production, use:

    npm run prod

Routes

The following routes are protected by the auth middleware and can only be accessed by authenticated users:

  • /dashboard
  • /binance
  • /countries
  • /cryptos
  • /exchanges
  • /kucoin
  • /okex
  • /orders
  • /payments
  • /prices
  • /profile
  • /transactions

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Blade 61.6%
  • PHP 37.1%
  • JavaScript 1.2%
  • CSS 0.1%