在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):devinsays/laravel-react-bootstrap开源软件地址(OpenSource Url):https://github.com/devinsays/laravel-react-bootstrap开源编程语言(OpenSource Language):PHP 99.0%开源软件介绍(OpenSource Introduction):Laravel React To Do AppAn example To Do App built with Laravel and React. It includes:
Use it as a base for quick prototypes or to learn from. Suggestions, recommendations, and pull requests welcome! Demo SiteView a demo of the app at laravelreact.com. (Password resets will not be sent from this server. Data will be cleared on a regular basis.) Development EnvironmentThis project runs on a LEMP stack (Linux, NGINX, MySQL, & PHP). The backend built with Laravel. The frontend is 100% React. If you don't already have a LEMP environment running, Valet is a good option for OSX. Set UpClone the repository:git clone https://github.com/devinsays/laravel-react-bootstrap Create your environment file:cp .env.example .env The app key is used to salt passwords. If you need to work with production data you'll want to use the same app key as defined in the .env file in production so password hashes match. Update these settings in the .env file:
Install PHP dependencies:composer install If you don't have Composer installed, instructions here. Generate an app key:php artisan key:generate Generate JWT keys for the .env file:php artisan jwt:secret Run the database migrations:php artisan migrate Install Javascript dependencies:npm install If you don't have Node and NPM installed, instructions here. Run an initial build:npm run development Additional Set Up TipsDatabase SeedingIf you need sample data to work with, you can seed the database:
Read more in /docs/database-seeds.md. Seeded UserAfter seeding the database, you can log in with these credentials: Email: Email DriverLaravel sends emails for password resets. The default for MAIL_DRIVER in .env.example is log. You can view logged emails in storage/logs/laravel.log. Other NotesInternal Docs: Laravel Docs: Valet Tutorial: https://scotch.io/tutorials/use-laravel-valet-for-a-super-quick-dev-server |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论