This is a Laravel project with vue with inertia. This project contains only CRUD of class, section, and student with one of the best practices. This README file will guide you through setting up the project, making it live, and managing the Vue.js build process using npm.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
Before you begin, ensure you have met the following requirements:
- PHP >= 8.2
- Composer
- Node.js & npm
- MySQL or any other supported database
git clone https://github.com/developernajib/student-management-inertia.git
cd student-management-inertia
composer install
npm install
Copy the .env.example file to .env and configure your environment variables:
cp .env.example .env
Update the .env file with your database and other necessary configurations.
php artisan key:generate
php artisan migrate -seed
To serve the application locally, use:
php artisan serve
This will start the server at http://localhost:8000.
To build the Vue.js files for production, run:
npm run build
This command will compile and minify the Vue.js files for production use.
If you are actively developing the Vue.js part of the project, you can watch for changes and recompile the files automatically:
npm run dev
This command will keep watching your Vue.js files and recompile them whenever you make changes.