A basic blog that uses a microservices architecture.
- JavaScript 95.1%
- Dockerfile 4.9%
| client@7552a64d72 | ||
| comments | ||
| event-bus | ||
| infra/k8s | ||
| posts | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| skaffold.yml | ||
microservices-blog
🚨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
- Clone the repository
git clone
- 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.
- Start the Kubernetes cluster
skaffold dev
- 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
- Navigate to the client
License
This project is licensed under the MIT License - see the LICENSE file for details