Initial Setup
- Clone the repository
git clone https://github.com/01Kirito/Assignment.git
- cd into the project
cd Assignment
- Install composer dependencies
composer install
- Install NPM dependencies not required cause we use api by postman
npm install
- Copy the .env file * Manage .env file by changing the database name and database connection*
cp .env.example .env
- Generate an app encryption key
php artisan key:generate
- Migrate the database
php artisan migrate
- Use Seeder to seed the database
php artisan db:seed --class=Founder
php artisan db:seed --class=DatabaseSeeder
Password and Email for Founder account You need to login to make CRUD operations. Email :[email protected] Password :Bill1234
Also import the "Employee management.postman_collection.json" file to the postman to get the api.