Git Product home page Git Product logo

spe_backend's Introduction

Self Assessment Test App - Backend

This repository contains the backend implementation for the Self Assessment Test App. This backend service is responsible for extracting questions from Avien Cloud based on the test name, sending emails using an SMTP server, and deploying the application using Kubernetes and Docker.

Features

Question Extraction: Retrieves questions from Avien Cloud storage based on the specified test name.

Email Sender Service: Implements an SMTP server to send emails.

Containerization: Dockerfile for building the backend service image.

Kubernetes Deployment: YAML files for deploying the service on a Kubernetes cluster.

Getting Started

Prerequisites

  1. SpringBoot BackEnd Code
  2. Docker
  3. Kubernetes
  4. SMTP server credentials
  5. Avien Cloud account and credentials

Installation

Clone the repository:

git clone [https://github.com/somshivgupta/SPE_BackEnd.git]

cd self-assessment-test-app-backend

Configuration

Environment Variables

Create a .env file in the root directory of the project and add the following variables:

AVIEN_CLOUD_URL=jdbc:mysql://avnadmin:AVNS_kQdTw90A2qOTdVbgh3n@mysql-spemajor-spemajor.l.aivencloud.com:12264/test

SMTP_SERVER=smtp.gmail.com

SMTP_PORT=587

[email protected]

EMAIL_PASS=hdgaqtaxaodbkopv

Kubernetes Config

deployment.yaml: Contains the deployment configuration for Kubernetes.

service.yaml: Contains the service configuration for Kubernetes.

Kubernetes Deployment

To deploy the application on a Kubernetes cluster:

Apply the deployment configuration:

kubectl apply -f deployment.yaml

Apply the service configuration:

kubectl apply -f service.yaml

Verify the deployment:

kubectl get pods

kubectl get services

spe_backend's People

Contributors

somshivgupta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.