A realtime stock application which display user's selected stock and changes as the stock value changes. The stock changes are mocked programatically using random values.
This system is built with NodeJS, MongoDB, Socket.io, and ReactJS.
- NodeJS 8+
- NPM 3.5+
- MongoDB 4+
- Clone the project from github.
git clone https://github.com/ravidhavlesha/wallstreet-91.git ./wallstreet-91- Install dependencies.
cd wallstreet-91
npm install- Setup environment variables.
- You will find a file named
.env.examplein root directory of this project. - Create a new file by copying
.env.examplefile and renaming it to.env.
cp .env.example .env- Update the newly created
.envfile with your values.
- Client.
cd client
npm installnpm run devcd client
npm run build
cd ../
npm run start