Skip to content

Ani512/online-tutoring-app-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

177 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online-tutoring-app-backend

Backend Rest API Service Powered by Java and Spring for the Online Tutoring Application

SETUP -

git clone git@github.com:Online-Tutoring-Application-Team-11/backend-rest-API-service.git

  1. Download Java version 17
  2. Download intellij IDEA
  3. mvn clean install [This is a maven project so click on the green button to download dependencies]

image

  1. Replace the contents of the src/main/application.properties file with the passwords provided in the submission
  2. Run the main function present in src/main/java/onlinetutoring/com/teamelevenbackend/TeamElevenBackendApplication.java (click on the green button next to main to run the app)

image

Database -

The Application uses Postgres DB and is hosted on AWS

Credentials -

  • host-name: CONTACT-ADMIN
  • port: CONTACT-ADMIN
  • username: CONTACT-ADMIN
  • password: CONTACT-ADMIN

Deployment -

The backend is deployed using railway

ENVIRONMENTS -

  • production - CONTACT-ADMIN
  • localhost - http://localhost:8080

DO NOT PUSH TO PRODUCTION WITHOUT A PULL REQUEST

TESTING -

  • You can use the postman testing suite with the app running locally

INFRASTRUCTURE -

sequenceDiagram
  participant React-FE
  participant Java-Spring-API
  participant AWS-SQL-DB
  participant Caching-Layer

  Java-Spring-API->>Caching-Layer: Replace cache every 10 minutes or bust cache if any update API call has been made

  React-FE->>Java-Spring-API: Send Request
  Java-Spring-API->>AWS-SQL-DB: Query Database
  AWS-SQL-DB-->>Java-Spring-API: Return Data
  Java-Spring-API-->>React-FE: Return Response

  React-FE->>Caching-Layer: Send Request to Get Tutor Info
  Caching-Layer-->>React-FE: Return Cached Data
Loading

About

Backend Rest API Service Powered by Java and Spring for the Online Tutoring Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages