Skip to content

Fullstack Laravel and vue js, that allows users to view and manage the list of users and their associated departments.

Notifications You must be signed in to change notification settings

eyobbokru/Fullstack-Laravel-and-vue-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Fullstack Laravel and vue js, that allows users to view and manage the list of users and their associated departments.

backend

git clone https://github.com/eyobbokru/Fullstack-Laravel-and-vue-js.git

cd Fullstack-Laravel-and-vue-js

cd users-departments_backend

composer install

cp .env.example .env

create the database and config user name and password

cont.

php artisan migrate
php artisan key:generate
php artisan serve

unit test

php artisan test

some tests
UserTest
     * test_can_create_user()
     * test_can_update_user()
     * test_can_delete_user()
     * test_cannot_create_user_without_required_data()
     * test_cannot_create_user_with_invalid_email()
     * test_cannot_create_duplicate_user()
     * test_cannot_update_user_with_invalid_data()
     * test_can_retrieve_list_of_users()
     * test_can_retrieve_single_user()

DepartmentTest
     * test_can_delete_department()
     * test_can_update_department()
     * test_can_create_department()
     * test_cannot_create_department_without_name()
     * test_cannot_create_duplicate_department()
     * test_can_retrieve_list_of_departments()
     * test_can_retrieve_single_department()

UserDepartmentTest
     * test_user_model_has_many_departments()
     * test_department_model_has_many_users()
     * test_user_model_does_not_sync_duplicate_departments()
     * test_department_model_does_not_sync_duplicate_users()

frontend

cd users-departments_frontend

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

About

Fullstack Laravel and vue js, that allows users to view and manage the list of users and their associated departments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published