A website for creating a system to manage a Library . There two kinds of users admin and student . In these website you can view all books you can borrow an avaliable books to borrow and update your profile as user, in additon admin can view dashboard for all students and books ,can only view student profiles , promote them to be an admin or demote them and can apply CRUD system on books .
- clone this repository
git clone https://github.com/KhaledMahmoudSaeed/ITI.git- Navigate to the project directory
- Install dependencies
npm install
npm run build- Insatll composer
composer install- copy the .env.example to new file .evn
if you use windows run this
copy .env.example .envelse
cp .env.example .env- Generate encrytion key
php artisan key:generate- Edit database configration in .env to your database
- add this in vite.config.js to ensure that your Vite configuration file (usually vite.config.js or vite.config.ts) specifies the correct entry points
build: {
rollupOptions: {
input: [
"resources/sass/app.scss",
"resources/js/app.js",
// No wildcard for images
],
},
},- Clear the congif cach
php artisan config:cache- run this command
php artisan storage:link- Navigate to the directory which you clone the project
- Run the server
php artisan serve- Build the project
npm run build