#irDevConf Tweets an app with React.js. In 1 Hour Workshop Covering React.js in ES6 at July 22th 2016 in Tehran, Iran.
First, you should clone the repo and install the dependencies.
$ git clone https://github.com/siamak/react-for-developers.git
$ cd react-for-developers
$ [sudo] npm install
For Development
:
$ npm start
For Deploy:
$ npm run deploy
For lint (Airbnb + React Config):
$ npm run lint
Go to Twitter Developers and after login and creating a new app, copy your consumer_key
, consumer_secret
, access_token
, access_token_secret
in server/index.js
.
If you want edit port and address, change PORT
in server/index.js
then open src/modules/connection.js
and edit request url.
Finally start node server:
$ cd server
$ node index
Note: If you are in Iran you need to change your IP for accessing twitter.
Thanks to Mohammad Rajabifard for Twitter API. Copyright (c) 2016 Siamak Mokhtari. Licensed under MIT.
The MIT License (MIT)
Copyright (c) 2016 Siamak Mokhtari [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.