Giter Site home page Giter Site logo

bloghub's Introduction

Blog Hub

Blog Hub is a platform designed to help you discover the best blogs from reputable authors across the globe on any topic in the field of technology. It is a React application containerized using Docker and deployed on Kubernetes along with Helm charts to manage it.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Getting Started

To get a local copy of the project up and running, follow these steps:

Step 1: Clone the Repository

git clone https://github.com/1Shubham7/BlogHub.git
cd BlogHub

Step 2: Install Dependencies

Install the required dependencies using npm:

npm install

Step 3. Running Locally

Now you can simply see it running locally using the following command:

npm start

The application will be accessible at http://localhost:3000.

Step 4. Running with Docker

To run the containerized application, use Docker:

docker run -p 8080:80 1shubham7/react-helm-tutorial:1.0.0

The application will be accessible at http://localhost:3000. Or better, we can create a local Kubernetes cluster and deploy the application there. For that first create a Kubernetes cluster using Minikube:

Step 5. Deploying to Kubernetes

  • Create a local Kubernetes cluster using Minikube:
minikube start
  • Install the Helm chart for the application:
helm install --dry-run react-chart ./charts/react-chart
  • And now you can port-forward the Kubernetes service "reach-chart to the port 8000:
kubectl port-forward svc/react-chart 8000:80

And with that we will have our blog application running in the localhost:8000 of our machine:

image

bloghub's People

Contributors

1shubham7 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.