-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the ampersand wiki!
Our Team:
- Aditi Pednekar
- Dhruti Patel
- Nikhil Kamble
Napkin Diagram:
Architecture Diagram:
The branch release/project-milestone-1 consists of 6 microservices. Click on the arrow for more information about each microservice
account-service
Contains google-authentication for user
greetings-service
Fetches username from google-authentication service
data-ingestor
Fetches URL from AWS
data-plotting
Plots the image from file written
radar-station
Gets the equivalent radar station code for the queried city
database
Keeps record of all user history. This service is also the API Gateway of our application. It redirects all the requests from the frontend to all other microservices and connects with DB to store and retrieve user history.
Pre-requisites
- Docker Desktop (Download -> https://www.docker.com/products/docker-desktop)
- MongoDB (Download -> https://www.mongodb.com/try/download/community)
-
Deploy account-service
cd account-service
npm i
npm start -
Deploy greetings-service.
cd greetings-service
npm i
npm start -
Deploy data-ingestor
cd data-ingestor
Keep your docker engine running in background
docker build -t data-ingestor-image .
docker run -d --name adscontainer1 -p 81:81 data-ingestor-image
OR (to run without docker execute below 3 steps)
cd data-ingestor
pip install -r requirements.txt
python -m uvicorn app.data_ingestor:app --reload --port 81 -
Deploy data-plotting
cd data-plotting
Keep your docker engine running in background
docker build -t data-plotting-image .
docker run -d --name adscontainer -p 82:82 data-plotting-image
OR (to run without docker execute below 3 steps)
cd data-plotting
pip install -r requirements.txt
python -m uvicorn app.main:app --reload --port 82 -
Deploy radar-station
Download Eclipse
Open exisiting project (open the radar-station project that you just cloned)
Right click on Application.java file and select Run as Java application (it is in src->java->main->nexraddata->Application.java)
Now the microservice should be up and running on port 8080 -
Deploy database
- Open terminal:
Type "mongod"
- If above command gives error follow the steps given below for Windows
create directory "data" in C drive
go inside "data" directory
create directory "db"
Run "mongod" command again- Open another terminal
cd database
npm i
npm run devStart - Open terminal:
-
Deploy GUI
cd gui
npm i
npm start