A basic blog that uses a microservices architecture.
  • JavaScript 95.1%
  • Dockerfile 4.9%
Find a file
Riley Seaburg f6a6c909f0 update readme
2022-09-27 05:03:11 -04:00
client@7552a64d72 add git 2022-09-19 02:51:37 -04:00
comments add client and eventbus 2022-09-19 02:49:01 -04:00
event-bus add stuff 2022-09-19 02:46:43 -04:00
infra/k8s add skaffold 2022-09-27 04:45:23 -04:00
posts add skaffold 2022-09-27 04:45:23 -04:00
.gitignore add client and eventbus 2022-09-19 02:49:01 -04:00
LICENSE update readme & license 2022-09-27 04:57:39 -04:00
README.md update readme 2022-09-27 05:03:11 -04:00
skaffold.yml add skaffold 2022-09-27 04:45:23 -04:00

microservices-blog

microservices-blog-client

🚨Alert🚨

🚨 This project is not production ready 🚨

🚨 It is still under construction 🚨

This is a blog application built with microservices.

Features

  • Create a post
  • Update a post
  • Delete a post
  • View a list of posts
  • View a single post
  • Create a comment
  • Update a comment
  • Delete a comment
  • View a list of comments
  • View a single comment

This application needs an event bus to communicate between services. It is had not been implemented yet.

Development

Prerequisites

Getting Started

  1. Clone the repository
git clone
  1. Clone the client
git clone https://github.com/RileySeaburg/microservices-blog-client.git client

This project makes use of Skaffold to run the application in a Kubernetes cluster. Skaffold will build the Docker images for each service and deploy them to the cluster.

  1. Start the Kubernetes cluster
skaffold dev
  1. Update your hosts file
sudo nano 
- Windows: `C:\Windows\System32\drivers\etc\hosts`
- Mac: `/etc/hosts`
- Linux: `/etc/hosts`

Add the following line to the hosts file:

localhost posts.com
  1. Navigate to the client

http://posts.com

License

This project is licensed under the MIT License - see the LICENSE file for details