Skip to content

Project written on Laravel 9.5-Vue3-Tailwindcss. (social_network_SPA)

Notifications You must be signed in to change notification settings

07Rinat07/social-network

Repository files navigation

Build Status Total Downloads Latest Stable Version License

ABOUT project_Social-network SPA

Project "Social Network" - made on Laravel and Vue frameworks, Tailwindcss & Vite styles are also used. The project will be deployed on the hosting for demonstration and testing.

Project written on Laravel 9.5&&Vue&&TailwindcInstructions and additional information for installing and testing the application:

  1. Link how-to-install-vue-3-in-laravel-9-with-vite: https://techvblogs.com/blog/how-to-install-vue-3-in-laravel-9-with-vite
  2. Link Get started with Tailwind CSS: https://tailwindcss.com/docs/installation/using-postcss
  3. composer install or composer update
  4. composer require laravel/ui
  5. php artisan ui:auth
  6. Create a DB (in the .env file and the database, enter the correct data for configuration)
  7. php artisan migrate
  8. If you want to deploy this site on hosting, then in .env write a constant SANCTUM_STATEFUL_DOMAINS=AND_HERE_YOUR_DOMAINS_OR_IP For example, I have SANCTUM_STATEFUL_DOMAINS=41.155.158.48
  9. npm run build - If you will deploy the site to a hosting, then first build for VUE locally or on the hosting if you have access to Node and SSH.

To run the project locally, you need to type commands in the terminal in turn:

  1. npm run dev
  2. php artisan serve
  3. php artisan storage:link

Additional actions in case of errors...

  1. php artisan route:cache
  2. php artisan route:clear
  3. php artisan config:clear
  4. php artisan cache:clear
  5. php artisan optimize

About

Project written on Laravel 9.5-Vue3-Tailwindcss. (social_network_SPA)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published