Book Manager is a Full Stack Web application using laravel api and vue js 3 for managing Books
- Clone this repository to your local computer
git clone https://github.com/ronald-kimeli/book-manager.git
- Navigate to laravel api backend.
cd laravel-api
- Install necessary dependencies
composer install
- Set the application Key for laravel to run
php artisan key:generate
- Copy and set .env from .env.example
cp .env.example .env
-
Set your database credentials
-
Run migation and seed database for dummy data
php artisan migrate --seed
- Spin the server then Laravel is ready for connection
php artisan serve
- Navigate to vue frontend on the other terminal
cd vue_frontend
- Install necessary dependencies
You can use either yarn or npm according to your preferences
yarn
or
npm install
- Then, spin server and navigate to the browser localhost:3000
yarn dev
or
npm run dev
Since we seeded the database with dummy data.
admin@mail.com => 12345678
Book Manager.postman_collection.json