Skip to content

Predicting the next recession. As we know the great depression and how mortage prices went unmonitored and prices were floating above the marked rates. This project shows trends of the great depression for the coming fiscal year and helps you estimate the price of any property which you are willing to invest and help you decide about its worthin…

Notifications You must be signed in to change notification settings

Arihant1467/Forecasting-finacial-and-market-bubble

Repository files navigation

Forecasting-finacial-and-market-bubble

Predicting the next recession

Web App Video

Web App Video

Report

Forecasting-finacial-and-market-bubble Report

Setting up Go Path

export GOPATH=/Users/arihantsaiparuchuru/Downloads/Forecasting-finacial-and-market-bubble/go-server
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH:$GOBIN

Running Go Server

As per new changes, follow below steps :

cd /Users/arihantsaiparuchuru/Downloads/Forecasting-finacial-and-market-bubble/go-server
make go-get
make go-build
make go-run

Test on postman :

GET : http://localhost:4000/api/v1/landdata/{city}
GET : http://localhost:4000/api/v1/ping


cd /Users/arihantsaiparuchuru/Downloads/Forecasting-finacial-and-market-bubble/go-server/src/go-server
go build
go run go-server 

Ping Path

curl http://localhost:4000/api/v1/ping
{
  "Test": "Forecasting maarket bubble Go API v1 is alive"
}

Launch the docker images and test locally

  • Create network
docker network create -d bridge cmpe295
  • Backend
docker pull sayalipatil/forecast:latest
docker run -d --network=cmpe295 -p 4000:4000 --name server-forecast sayalipatil/forecast:latest
  • Frontend
docker pull arihant95/forecast-frontend:1.0
docker run -d --network=cmpe295 -p 3000:3000 --name forecast-frontend  arihant95/forecast-frontend:1.0

docker run -d -e PROXY_HOST='http://54.185.51.108:4000/api/v1' -p 3000:3000 --name forecast-frontend arihant95/forecast-frontend

  • Stop containers
docker stop forecast-frontend server-forecast
docker rm forecast-frontend server-forecast

Launch Docker Compose

docker-compose up -d
docker-compose down

MLAB login credentials

u: cmpe295
p: cmpe295

To connect to the database

mongo ds034348.mlab.com:34348/forecast_market_bubble -u cmpe295 -p cmpe295
mongodb://cmpe295:[email protected]:34348/forecast_market_bubble

mongoimport -h ds041571.mlab.com:41571 -d team295 -c landdata -u cmpe295 -p cmpe295 --file /Users/arihantsaiparuchuru/Downloads/LandData.csv --type csv --headerline

About

Predicting the next recession. As we know the great depression and how mortage prices went unmonitored and prices were floating above the marked rates. This project shows trends of the great depression for the coming fiscal year and helps you estimate the price of any property which you are willing to invest and help you decide about its worthin…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •