MegaTrade website is a production level platform that can be used for buinesses revolving around trading signal generations and alerts. It includes many features that the business may need such as:
- Responsive Landing Website
- Administration Dashobard
- Customers Dashboard
- Analytics and Google Analytics
- Live Market Tools using TradeView
- Payment Gateway Intgration (PayPal)
- Live Chat and Support
- Community Group Chat
You can see the live demo by visting https://megatrade.herokuapp.com
- React JS
- Material UI
- Socket IO
- React Router DOM
- Heroku Cloud
- MomentJs
- React Ionicons
- React Google Analytics
... and many more, check the package.json
file for all the libraries used.
- Megatrade Backend Server (Required, this is your Megatrade Website server, daa!)
- Node v8.10 (it is recommended to install it via NVM)
- NPM or Yarn
- A development enviroment setup with React JS, you can follow these instructions (Required as project core)
- Facebook App Id, you can follow these instructions (Optional, for facebook login to work)
- Google Clients Id, you can follow these instructions (Optional, for google login to work)
Moving Forward this assumes you have everything setup, now to install the project either download the .zip file and extract or navigate to an empty directory and clone this repo:
git clone https://github.com/AbdeenM/megatrade-website.git
Once you have the project files downloaded navigate to where the package.json
file is in your directory and run npm install
or yarn install
depending on what you have as a package manager.
- Setup Megatrade Server.
- Modify
src/config/Constants.js
with your details respectively. - Run
npm start
on the project root directory. - Now sit back relax and enjoy exploring the website!
When you intially run the website you will have access to two dashboards one for your customers which will be accessed by them normally through the url https://[your-domain]/
and the second is your administration dashboard which can be accessed by you through the url https://[your-domain]/admin
.
Creating an account as a customer is easy and happens through the natural process of registering through the website, however there is no by default account created for administration so you will have to do it manual and post a request to your backend server thats running to create your admin account. one easy way to do this is using the application POSTMAN, follow the steps below:
- Setup Megatrade Server.
- Open Postman and chose to make a post request to the url
[your-backend-url-same-as-in-constants.js]/api/admin/register
- Under headers tab on postman enter a key
Content-Type
and valueapplication/x-www-form-urlencoded
- Under body chose
x-www-form-urlencoded
and enter the follow key/value pairs:firstName
-your-admin-first-name
lastName
-your-admin-last-name
email
-your-admin-email-for-login
password
-your-admin-password-for-login
This project has great potential for improvements, currently i wont be updating or modifying it due to time shortage but feel free to contribute!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
Megatrade © 2020, Released under the MIT License
Authored and Maintained by Abdeen Mohamed