https://github.com/abdessamadbettal/tasks
simple web application that allows users to create and manage a list of tasks using laravel , vue , tailwind , JWT and mongoDB folowing best practices and coding standards.
https://github.com/abdessamadbettal/tasks
best-practices ci-cd jwt laravel mangodb php tailwind tailwindcss testing tutorial vue
Last synced: 7 months ago
JSON representation
simple web application that allows users to create and manage a list of tasks using laravel , vue , tailwind , JWT and mongoDB folowing best practices and coding standards.
- Host: GitHub
- URL: https://github.com/abdessamadbettal/tasks
- Owner: abdessamadbettal
- License: mit
- Created: 2023-08-10T14:57:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-05T14:29:17.000Z (over 2 years ago)
- Last Synced: 2025-10-09T12:34:13.230Z (7 months ago)
- Topics: best-practices, ci-cd, jwt, laravel, mangodb, php, tailwind, tailwindcss, testing, tutorial, vue
- Language: PHP
- Homepage:
- Size: 166 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel Vue Jwt tailwind mangoDb Example Project
simple web application that allows users to create and manage a list of tasks using laravel , vue , tailwind , jwt, and mongoDB folowing best practices and coding standards and also CI CD using github actions
# Setup
```
composer install
cp .env.example .env
```
copy .env.example to .env and update the following lines to use mongoDB
```
DB_CONNECTION=mongodb
DB_DATABASE=tasks_db
DB_DSN=mongodb+srv://yourMongoDbUrl
```
then
```
php artisan key:generate
php artisan jwt:secret
php artisan migrate
php artisan db:seed
```
# Usage
Run the backend
```
php artisan serve
```
Run the front-end
```
cd vue
npm install
npm run dev
```
Browse the website using
http://localhost:5173
# Testing
add your .env.testing file and update the following lines to use mongoDB
```
DB_DATABASE=tasks_db_test
```
then
Run the tests
```
php artisan test
```
# Postman Collection
for postman collection you can find it here
https://www.postman.com/crimson-crater-867589/workspace/tasks