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: 2 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T14:29:17.000Z (over 1 year ago)
- Last Synced: 2023-10-05T15:37:19.367Z (over 1 year ago)
- Topics: best-practices, ci-cd, jwt, laravel, mangodb, php, tailwind, tailwindcss, testing, tutorial, vue
- Language: PHP
- Homepage:
- Size: 166 KB
- Stars: 1
- 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