This project is a Vue.js dashboard application that includes features such as login authentication and manage posts of authenticated user.
- PHP version 8.1
- Node version 18.18.2
- Register/Login system (use sanctum for auth token).
- Create posts.
- Edit post.
- Delete post.
- View posts.
- Logout functionality by expiring user token.
- Clone the repository.
- Install dependencies using
npm install
. - Create database and update database connection in .env
- Run command
php artisan migrate
- Run the command
npm run watch
to build vue.js code. - Run command in seperate cmd
php artisan serve
- Register you account with first_name, last_name, email and password.
- Log in with valid credentials.
- Access the dashboard.
- Navigate to posts tab to view your posts.
- Can logout by clicking logout button on header.
- Laravel
- Sanctum
- Vue.js
- Vue Router
- Axios
- Bootstrap 4
- JavaScript (ES6+)
- Vite