Giter Site home page Giter Site logo

scheduler-microservice's Introduction

Job Scheduler Microservice

A scalable microservice for scheduling and managing jobs. This service provides API endpoints for job management, such as listing all jobs, retrieving details of a specific job by ID, and creating new jobs.

Table of Contents

Features

  • Job Scheduling: Schedule customized jobs with flexibility in configuration.
  • API Endpoints: Manage jobs through RESTful API endpoints.
  • Database Integration: Store job-related information in a PostgreSQL database.

Technologies Used

  • Language: TypeScript
  • Framework: Nest.js
  • Database: PostgreSQL
  • Documentation: Swagger

Setup and Installation

  1. Clone the Repository:

    git clone https://github.com/Ashishjagrawal/Scheduler-Microservice.git
    cd Scheduler-Microservice
  2. Install Dependencies:

    npm install
  3. Environment Variables: Create a .env file in the root directory and set up your database and other configurations.

    DB_HOST=localhost
    DB_PORT=5432
    DB_USERNAME=your_username
    DB_PASSWORD=your_password
    DB_NAME=your_database_name

    Replace your_username, your_password, and your_database_name with your actual PostgreSQL credentials.

  4. Run the Application:

    npm run start

    The server will start on the specified port (default: 3000).

API Endpoints

  • List All Jobs: GET /jobs
  • Retrieve a Specific Job: GET /jobs/:id
  • Create a New Job: POST /jobs
  • Update a Job: PUT /jobs/:id

For detailed API documentation, visit http://localhost:3000/api-docs.

Scalability

The application is designed with scalability in mind, capable of handling a large number of users, services, and API requests. For a detailed overview of the scalability strategies implemented, refer to the SCALABILITY.md document in the repository.

scheduler-microservice's People

Contributors

ashishjagrawal 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.