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.example
in root directory of this project. - Create a new file by copying
.env.example
file and renaming it to.env
.
cp .env.example .env
- Update the newly created
.env
file with your values.
- Client.
cd client
npm install
npm run dev
cd client
npm run build
cd ../
npm run start