Skip to content

kalongn/Brokeify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brokeify™ 416 Project

Lifetime Financial Planer Web Application

Set-up

From root directory

cd client
npm install

cd ../server
npm install

Then in client and server folder, create a .env file

Client .env file:

VITE_SERVER_ADDRESS="http://localhost:8000"

Server .env file:

DB_ADDRESS=mongodb://localhost:27017/brokeify
SERVER_PORT=8000
SECRET=<INSERT anything here>
CLIENT_URL=http://localhost:5173

FED_INCOME='https://www.irs.gov/filing/federal-income-tax-rates-and-brackets'
FED_STANDARD_DEDUCTIONS='https://www.irs.gov/publications/p17'
FED_CAPITAL_GAINS='https://www.irs.gov/taxtopics/tc409'
FED_RMD='https://www.irs.gov/publications/p590b#en_US_2023_publink100090310'

GOOGLE_CLIENT_ID=<INSERT GOOGLE CLIENT ID>
GOOGLE_CLIENT_SECRET=<INSERT GOOGLE CLIENT SECRET>
GOOGLE_REDIRECT_URI="http://localhost:#/auth/google/callback"


the last one use # since it replaces the # with whatever port number you decided within the code.

Running the software

You need 2 terminal, 1 at client and 1 at server

Client:

cd client
npm run dev

Server:

cd server
mongod # or whatever equivilant to create a mongoDB in your OS.
nodemon server.js

About

Brokeify Lifetime Financial Planer

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •