https://github.com/tookit/demotask
A demo task
https://github.com/tookit/demotask
Last synced: about 4 hours ago
JSON representation
A demo task
- Host: GitHub
- URL: https://github.com/tookit/demotask
- Owner: tookit
- Created: 2021-03-22T17:06:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T00:59:10.000Z (about 5 years ago)
- Last Synced: 2025-02-22T23:14:25.850Z (over 1 year ago)
- Language: PHP
- Size: 2.44 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introductoion
A simple laravel demo app built with laravel & vuejs created on Laravel sail
https://github.com/tookit/demoTask.git
## Function
- A simple auth with jwt
- Task curd API
- Project curd API
# Requiriement
- php ^ 7.4
- mysql ^ 5.7
- composer ^ 2.0
- npm
# How to start ?
## using laravel sail (docker)
- Install dependency with composer
```
composer install
```
- modify the env by your need
- Run laravel sail
```
./vendor/bin/sail up -d
```
- generate App Key / Jwt key
App key
```
./vendor/bin/sail artisan key:generate
```
JWT key
```
./vendor/bin/sail artisan jwt:secret
```
- Run migration and seed data
```
./vendor/bin/sail artisan migrate
```
```
./vendor/bin/sail artisan db:seed
```
By default, if no port conflict, access http://127.0.0.1/, have fun.
- default demo user /admin/admin