Skip to content

iampavangandhi/TradeByte

Repository files navigation

⚠️ NOT ACTIVELY MAINTAINED


logo TradeByte

Stocks Trading Simulation WebApp

Stars Forks Contributors Issues Pull Requests

License Language Lines of Code Version Deployment Repo Size

Project Board Project Wiki Project Report TheNodeCourse


Table of Contents

Tech Stack

javascript nodejs npm express mongodb ejs tailwind-css google gmail passport stripe heroku

Config Setup

Add following keys into the config.env file. These all are free to use keys.

Make sure to use the same config.env format given below.

PORT = XXXX
MONGO_URI = XXXX
ALPHA_VANTAGE_KEY = XXXX

GOOGLE_CLIENT_ID = XXXX
GOOGLE_CLIENT_SECRET = XXXX

GMAIL_ADDRESS = XXXX
GMAIL_OAUTH_CLIENT_ID = XXXX
GMAIL_OAUTH_CLIENT_SECRET = XXXX
GMAIL_OAUTH_REFRESH_TOKEN = XXXX
GMAIL_OAUTH_ACCESS_TOKEN = XXXX
GMAIL_OAUTH_TOKEN_EXPIRE = XXXX

PK_TEST = XXXX
SK_TEST = XXXX

Build Setup

# install dependencies
npm install

# run in production
npm start

# run in development
npm run dev

Folder Structure

.
β”œβ”€β”€ πŸ“ .github                 # Github files (don't change)
β”œβ”€β”€ πŸ“ config                  # Configuration files
β”œβ”€β”€ πŸ“ helpers                 # Helper or Controller files
β”œβ”€β”€ πŸ“ middleware              # Express middleware
β”œβ”€β”€ πŸ“ models                  # Mongoose models
β”œβ”€β”€ πŸ“ project-plan            # Project planning files
β”‚   └── πŸ“ ui-designs
β”œβ”€β”€ πŸ“ public                  # Public folder
β”‚    β”œβ”€β”€ πŸ“ css
β”‚    β”œβ”€β”€ πŸ“ images
β”‚    └── πŸ“ javascript
β”œβ”€β”€ πŸ“ routes                  # Express routes
β”‚    └── πŸ“ api
└── πŸ“ views                   # EJS views
     β”œβ”€β”€ πŸ“ error
     β”œβ”€β”€ πŸ“ layouts
     └── πŸ“ partials

Project Plan

Project Plan

Contributing

Feel free to dive in! Open an issue or submit PRs.

See the CONTRIBUTING.md for details. Kindly follow the Code Of Conduct

Contributors

This project exists thanks to all the people who contribute.

Contributors

Maintainers

Pavan Gandhi

This repo is maintained by Pavan Gandhi.

API Credits

alpha-vantage

License

MIT Β© Pavan Gandhi


Show some ❀️ by starring the repository!