msalom28 / larasocial Goto Github PK
View Code? Open in Web Editor NEWA social network app built with Laravel
A social network app built with Laravel
It should how my timeline or dashboard instead, with the status in there.
do you have a stream where you list all statuses ?.
After trying to the command node server.js
, I keep getting the following:
`module.js:471
throw err;
^
Error: Cannot find module 'socket.io'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Applications/XAMPP/xamppfiles/htdocs/larasocial/server.js:2:34)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)`
Plus a couple of other things are not working but I do not know if this has anything to do with any issues. Any idea how to fix that in order to proceed?
hey I am getting error when I hit npm install in command prompt
Hey, here logout function is not working. please check
The logout function is not working. Whenever I attempt to log out, I get this error
MethodNotAllowedHttpException in compiled.php line 7803:
So what I did to fix it was change the logout route from delete to get
from this
Route::delete('logout', ['as' => 'logout_path', 'uses' => 'SessionController@destroy']);
to this
Route::get('logout', ['as' => 'logout_path', 'uses' => 'SessionController@destroy']);
Now on logout, I get this response in the browser:
{"response":"success"}
Which I assume means it's working. Now we just have to redirect to the registration page.
Please let me know if I have missed anything.
When I run migrate command nothing happen simply returns Nothing to change, I have done all setup configuration as per your description.
I am getting myencrypt extension required while installing composer dependencies.
[
Hello,
I first wanna say, this is a great starter app, thank you for creating it.
However, I'm finding it hard to make it work locally.
I'm on http://localhost/social-app/public (no ports)
I have also changed the path of socket.io.js to my local js directory.
I also had to remove @foreach($randomLogins as $randomLogin)
from registration/index.blade.php
because it was giving an error, variable not defined.
This is how I installed it:
git clone https://github.com/msalom28/Larasocial/.git projectname
composer install
npm install
(had some troubles, had to install each dependency manually)php artisan migrate
When I visit http://localhost/social-app/public, I can see the register form but I cannot register, and I get these errors in the console.
Uncaught ReferenceError: userId is not defined: main.js line 133
GET http://localhost:3000/socket.io/?EIO=2&transport=polling&t=1430353276968-0 net::ERR_CONNECTION_REFUSED
I have never used socket.io before so I'm not sure about that port 3000.
Is there anything else left to do to have it working locally?
Thanks.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for intervention/image dev-master -> satisfiable by intervention/image[dev-master].
- intervention/image dev-master requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- C:\Program Files\PHP\v7.1\php.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
why when i publish a post it send a page with json response and not the home page?
Hello,
I just finished finished my Larasocial app. I deployed it on Heroku. I how do i make node Js work with the laravel app?
Thanks
Hello I'm new with laravel and node.js This code is exactly what I'm looking for. I wanted to migrate the database to mysql. Database and tables are created that's fine but application doesn't work after migration. I changed the default database and all variables for laravel. I can only think it's a problem with node.js
Is it possible to use it with mysql database? If yes, how?
Thank you
I'm getting this error on registration form.
However. the new user is being submitted to the database and I am able to login with it.
I have edited php.ini and added this line
xdebug.max_nesting_level=200
But that didn't help.
Does it have anything to do with php_smtp not being installed on my local machine?
When clicking on that , a popup is coming that says "something is wrong , please try again"
Hi Buddy
I already installed two new projects with laravel on my computer with Xampp and CMD.
I've got the following question: how can I install it with composer require in cmd?
Like I installed the Chatter and Voyager application, I want to install the same way your larasocial application. Would be very thankful if you could write a simple install method for newbees.
Peace Rehan
I have just started laravel, all i know is database settings are in .env file but when i downloaded this there was no such file
please give detailed installation process for noobs like me
cheers
When i am migrating from php artisan migrate --seed its saying nothing to migrate please help me out where i can get data of user and have this any admin pannel
hello msalom,
Love great work. Please keep it up.
here is the issue, when a register a user , firstly it doesn't save to the mysql database so with that i don't think i login in.
Also does it have admin panel?
Thanks in advance!
Friend Request is not working. Please check. I tried from different browser with different emails but still not working.
Larasocial as a package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.