Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzt7/smartai
AutoBots
https://github.com/mzt7/smartai
Last synced: about 2 months ago
JSON representation
AutoBots
- Host: GitHub
- URL: https://github.com/mzt7/smartai
- Owner: MZT7
- Created: 2024-08-24T09:53:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T11:02:27.000Z (5 months ago)
- Last Synced: 2024-08-25T10:56:32.477Z (5 months ago)
- Language: PHP
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SmartAI Laravel Vue.js Inertia Project Setup
This README provides step-by-step instructions to set up a Laravel project with Vue.js and Inertia.
## Prerequisites
- PHP 8.1 or higher
- Composer
- Node.js and npm
- A database (MySQL)## Setup Steps
Once you have pull the Code from this repo,Then follow this steps:
1.Install NPM dependencies:
npm install
2.Install COMPOSER dependencies:
composer install
3.Configure your database in the `.env` file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password4.Run database migrations:
php artisan migrate
5.Start the Laravel development server:
5.1 In one terminal, run the Laravel server:
php artisan serve5.2 In another terminal, compile assets:
npm run dev6.Start the CronJob & Broadcasting server for realtime update:
6.1 php artisan schedule:work
6.2 php artisan reverb:start
6.3 php artisan queue:listen## API Documentation
API documentation is available at (http://localhost:8000/request-docs) after running the development server.
List of the Required API Routes:
- GET /autobots
- GET /autobots/1/posts
- GET /api/posts/1/comments