My Coin Trading Project connects to the following Crypto-Currency Market Capitalization sites via api (implemented in the background, using laravel Task Scheduling):
- coinbin.org
- worldcoinindex.com
- coindar.org
- solume.io
- coinmarketcap.org
General Information
- Information is displayed in Laravel Datatables, which includes table views (datagrids) with pagination, searching and sorting capabilities.
-
Site includes basic login/logout/register functionality.
- Metronic theme is integrated.
- Twitter integration implemented. User can configure Twitter account and the corresponding tweets will be retrieved.
- Coin Events are shown in the calendar.
- select2.js JQuery plugin is used to search for a coin.
- Project has a chat implemented using node.js framework
Prerequisits
- Ensure you have PHP version 7.1.*
- Make sure that you have already installed (Node.JS).
After you have cloned or downloaded the project, navigate to the corresponding directory
-
Install all the dependencies as specified in the composer.lock file (in your terminal).
cd cryptoTrading
composer install - Copy the .env.example file to the .env file, and set the corresponding keys
- Run the following and add the corresponding keys to .env file
php artisan vendor:publish --provider="Thujohn\Twitter\TwitterServiceProvider" - Run the site
php artisan serve --host=your_host --port=your_port
Alternatively, create a virtual host.
- Execute the migrations
php artisan migrate - For the Linux system cron, add the following Cron entry to your server:
* * * * * php /path-to-the-project/artisan schedule:run >> /dev/null 2>&1
Windows has GUI equivalent called Task Scheduler, that can be made to perform similar function.
You can run schedules by hand, by using this command in Command Prompt:
php artisan schedule:run
(however in this case, you've to run the command on your own for multiple times.) - In your root directory, run this command in your terminal/command prompt. This will
install all the corresponding node packages listed in
package.json file
npm install - In your root directory run the server using terminal / command prompt with this syntax :
node node/server.js
- Laravel task scheduling
- Creating own artisan commands
- Laravel Guzzle HTTP library
- Laravel Datatables
- Twitter API Integration
- select2.js JQuery Technology
- Websocket API
- node-mysql node package
- http node package
- mysql node package