Live Site: https://stonka.jaruliah.me/
This is a stock, returns data about a given stock when a valid stock ticker symbol is presented. Logged in users can add to watchlist.
This project utilizes an external API to fetch the data https://www.alphavantage.co/. Users can search up stocks by their ticker symbols and be given information about that stock. Users have an option to create a profile so that they can use the watchlist. The user is able to add and remove items from their watchlist. Currently a free api key is being used, with a limit of 2 requests a minute and 500 requests daily.
- React
- Nodejs
- Express
- MongoDB
- SCSS
- Material Design Bootstrap
- Hosted on NGINX VPS
-
Inside of server folder .env file must be created with contents as follows:
DB_CONNECTION="your database connection"
-
to install all server dependencies run:
cd server
npm install
-
Inside of client folder .env file must be created with content as follows:
REACT_APP_BASE_URL= "your base api url"
REACT_APP_API_KEY= "your api key here"`
-
SCSS files need to be compiled, you can run:
cd /client
npm run scss
- To install all dependencies run:
cd client
npm install
- To start the server run:
cd ../server
npm run start
- To start react run:
cd ../client
npm start
- To create a production ready build:
cd ../client
npm run build
-
Setup project -
Initialize and connect database -
Create register route -
Create register front end -
Create login route -
Create login front end -
Create front page, with api fetches -
Create GET watchlist route -
Create POST watchlist route -
Create DELETE watchlist route -
Bug testing -
Style register page -
Style login page -
Style front page -
Style 404 page -
Bug testing -
Deploy project :)
- Purchase premium key for more data?
- Live stock ticker price?
- Crypto?
- ???