An open API service indexing awesome lists of open source software.

https://github.com/mrepol742/laravel-react-ts-template

I did it so you don't have to (with typescript)
https://github.com/mrepol742/laravel-react-ts-template

bootstrap laravel react template-project typescript

Last synced: 2 months ago
JSON representation

I did it so you don't have to (with typescript)

Awesome Lists containing this project

README

          

# laravel-react-ts-template
I did it so you don't have to (with typescript)

## Setting up
- install dependecies
```
composer install && npm install
```
- create environment
```
cp .env.example .env
```
- generate app key
```
php artisan key:generate
```
- database migration
```
php artisan migrate
php artisan db:seed
```

# Start application
- start vite
```
npm run dev
```
- start laravel
```sh
php artisan serve
```

## Refresh migration
```
php artisan migrate:refresh
php artisan db:seed
```

## Optimize
```
php artisan optimize
```