This is a basic Laravel project.
- PHP >= 8.2
- Composer
- MySQL or any other database supported by Laravel
- Node.js and npm (for frontend assets)
-
Clone the repository:
git clone https://github.com/FahadJrdev/p2p.git cd p2p -
Install dependencies:
composer install npm install
-
Create a
.envfile:Copy the
.env.examplefile to.env:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Configure the
.envfile:Set your database credentials and other configuration in the
.envfile. -
Run migrations:
php artisan migrate
-
Run the development server:
npm install npm run build php artisan serve
You can now access your Laravel application at
http://localhost:8000.
Laravel includes a simple way to scaffold basic login and registration views and routes:
-
Generate authentication scaffolding:
php artisan make:auth
-
Run migrations (if not already done):
php artisan migrate
-
Compile assets:
npm run dev
For production, use:
npm run prod
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
This project is open-source and available under the MIT license.