-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Amol Sangar edited this page Feb 10, 2022
·
5 revisions
Weather Application (Complete Code)
- Frontend - Angular
- API gateway - Express Node JS
- Authentication Service - Google Authentication OAuth2, JWT (JSON Web Token) .
- Data retrieval and Plotting - Fast API Python, AWS S3.
- User History Service - Spring Boot Java, MySQL
- Profile service - Node JS, Mongo DB
- Communication Protocol - REST API
1. API Gateway
-
The gateway acts as the single point of contact for the frontend service and connects multiple microservices at the backend through REST APIS.
-
Connecting microservices -
- Authentication Service
- Profile Service
- Radar Service
- User History
-
The authentication service handles user registration, login and Google OAuth2 Sign-in. It handles the user session by using JWT which is passed from backend to frontend in the form of httpOnly cookie.
-
Connecting microservices -
- Gateway Service
- Profile Service
-
The profile service is responsible for creating and updating user profiles received from Auth Service. It uses MongoDB for user profile storing and retrieving.
-
Connecting microservices -
- Gateway Service
- Authentication Service
- The service fetches data from Nexrad data source (AWS S3) and generates a reflectivity graph which is then stored in the database using User History service
5. User History
- This service stores the data which is currently searched by the user