DengSihan / dancikuai-mirror

the frontend of dancikuai.com

Home Page:https://dancikuai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt-Laravel Quick Bootstrap Template

Start your project that has better SEO and user experience which is composed of Nuxtjs as its frontend and Laravel as backend.

Install

composer create-project dengsihan/laravel-nuxt-bootstrap
php artisan migrate
npm install --no-bin-links
php artisan websockets:serve &
npm run dev

Features

  1. Nuxtjs in SSR
  2. Laravel backend
  3. Tailwind for Nuxtjs
  4. Vuesax (with light/dark mode)
  5. PWA support
  6. I18n support
  7. Get Elasticsearch started quickly
  8. Websockets by Laravel-Echo

Content

  1. Authorizations System by Email with Social Accounts Support (default: github\apple\weixin\telegram, by Socialite Providers)

Notices

  1. nginx config
    proxy_set_header X-Forwarded-For $remote_addr;
    
    location ~* ^/(api|broadcasting)/ {
        try_files $uri $uri/ /index.php?$query_string;
    }
    location / {
        proxy_pass http://127.0.0.1:3000;
    }
    
  2. Supervisor for websockets
    [program:websockets]
    command=/usr/bin/php /your-project-location/artisan websockets:serve
    numprocs=1
    autostart=true
    autorestart=true
    user=sudo-www

License

MIT

About

the frontend of dancikuai.com

https://dancikuai.com


Languages

Language:Vue 98.8%Language:Shell 1.2%