Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 895 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 895 Bytes

Finberry-Stock-Simulator

Finberry Stock Simulator - UCALGARY CAPSTONE 2022-2023

Quickstart

Development

First run

npm i

in both the root and server folders.

Then to run both the server and client, you can run the following command:

npm start

This will run the the client on losthost:3000

Optionally you can also do the following to run the application

  • cd to the server directory
  • Run "npm install" to install all dependencies
  • Run "npm run dev-server" to start the live dev server

Then on a seperate terminal while keeping the terminal running the server

  • In the root directory
  • Run "npm install" to install all dependencies
  • Run "npm run startClient" to start the front end

populating the database

  • cd to the server directory
  • Run "npm run populate" to populate all database models

firebase config

  • Add .env file for the firebase config