<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
<?php | |
namespace App\Http\Controllers\Auth; | |
use App\Http\Controllers\Controller; | |
use App\Transformers\Json; | |
use App\User; | |
use Illuminate\Foundation\Auth\SendsPasswordResetEmails; | |
use Illuminate\Http\Request; |
var app = require('express').createServer() | |
var io = require('socket.io').listen(app); | |
var fs = require('fs'); | |
app.listen(8008); | |
// routing | |
app.get('/', function (req, res) { | |
res.sendfile(__dirname + '/chat.html'); | |
}); |
<script src="/socket.io/socket.io.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var my_username = ''; | |
function send_individual_msg(id) | |
{ | |
//alert(id); | |
//alert(my_username); | |
socket.emit('check_user', my_username, id); | |
//socket.emit('msg_user', id, my_username, prompt("Type your message:")); |
return Product.create({ | |
title: 'Chair', | |
user: { | |
firstName: 'Mick', | |
lastName: 'Broadstone', | |
addresses: [{ | |
type: 'home', | |
line1: '100 Main St.', | |
city: 'Austin', | |
state: 'TX', |
/* | |
You can also customize the screen size based on your requirements. | |
*/ | |
/* | |
- Device -> Desktops | |
- Screen -> From 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { |