A stock market simulation using Node, Express in the backend and VanillaJs in frontend with EJS templating.
-
Clone repo and move into the Freemex2.0 directory
-
install dependencies
npm install
-
create .env file and fill it up with required values from .env.example
-
get google client id and client secret from https://console.developers.google.com/
-
get facebook client id and client secret from https://developers.facebook.com/
-
add these credentials to .env file
-
start server
npm start
-
Go to http://localhost:{your PORT}/timer/entry and enter the username and password from your .env file when prompted
-
Add the timer values
-
Go to http://localhost:{your PORT} and start investing!
- node - https://nodejs.org/en/download/
- npm
- mongoDB -https://docs.mongodb.com/manual/installation/