An open API service indexing awesome lists of open source software.

https://github.com/ajibs/stock-master

Stay updated with the stock trends of companies you and friends care about.
https://github.com/ajibs/stock-master

babel freecodecamp nodejs pug socket-io stock-market stock-trends webpack

Last synced: 2 months ago
JSON representation

Stay updated with the stock trends of companies you and friends care about.

Awesome Lists containing this project

README

          

# Stock Master

Stay updated with the stock trends of companies you and friends care about.

Stock Master is a [FreeCodeCamp](https://www.freecodecamp.org/) Project.

## Feature List
* View graph displaying the recent trend lines for each added stock.
* User can add new stocks by their symbol name.
* User can remove stocks.
* See changes in real-time when any other user adds or removes a stock.

## Getting Started
Stock Master is hosted on Heroku and can be accessed here:
- [Production](https://the-stock-master.herokuapp.com/)

## Prerequisites
These are what you need installed on your computer to use the application:

- Web Browser (Chrome, or Mozilla, or Safari, or Opera, or Microsoft Edge )

#### For Developers:
- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org/en/download/)
- [MongoDb](https://www.mongodb.com/download-center#community)
- [Yarn](https://yarnpkg.com/en/docs/install)

## Setup
#### Local Copy
To create a local copy, run the following in your terminal:
```bash
git clone https://github.com/ajibs/stock-master.git
```
Then change into the local directory, run the following in your terminal:
```bash
cd stock-master
```

#### Install Node.js and Yarn
If you don't have Node.js installed, please go ahead and grab it [here](https://nodejs.org/). This project uses ES6+ features and requires Node version `>= 7.6.0` and `<=8.9.1`

Yarn is a package manager for Node.js and can be installed from [here](https://yarnpkg.com/en/docs/install).

To confirm that you have Node.js installed, run the following in your terminal:
```bash
node -v
```
You should get something like `v8.9.1`.

To confirm that you have Yarn installed, run the following in your terminal:
```bash
yarn -v
```
You should get something like `1.3.2`.

#### Setup Database and .env file
You can setup a database on [mlab](https://mlab.com/). You should also create a `.env` file using `.env.sample` as a prototype.

#### Install Node.js Modules
To install all dependencies, run the following in your terminal:
```bash
yarn
```

## Development
To kickstart the application, run the following in your terminal:
```bash
npm start
```

To continue full-stack development on this project, run the following in your terminal:
```bash
npm run dev
```

## Built With

- [Git](https://git-scm.com/) - Version Control
- [Node.js](https://nodejs.org/) - JS Runtime Environment
- [Yarn](https://yarnpkg.com) - Package Manager
- [Express](https://expressjs.com/en/starter/installing.html) - Web Framework
- [Pug](https://pugjs.org/api/getting-started.html) - Templating Engine
- [Webpack](https://webpack.js.org/) - Build Tool
- [Babel](https://babeljs.io/) - Transpiler
- [mLab](https://mlab.com/) - Database
- [Heroku](https://heroku.com) - Hosting and Continuous Deployment
- [VS Code](https://code.visualstudio.com/) - Code Editor
- [Chrome](https://www.google.com/chrome/browser/desktop/index.html) - Browser

## Contributing

Contributions are welcome

## Author

* [Bolu Ajibawo](https://github.com/ajibs)

## License

[MIT](https://github.com/ajibs/stock-master/blob/master/LICENSE)

## Acknowledgments
* [Vadym Yatsyuk](https://github.com/VadimDez/watchstocks)
* [FreeCodeCamp](https://www.freecodecamp.org/)
* [Chingu](https://chingu-cohorts.github.io/chingu-directory/)
* Red Pandas
* Developer Community
* Family and Friends