Skip to content

joshjms/monokrom

Repository files navigation

Blog Infrastructure with REST API, AWS SQS, Redis Caching, and PostgreSQL

This repository contains the backend infrastructure and code for setting up a blog system with a RESTful API. The system uses AWS SQS (Simple Queue Service) for handling asynchronous tasks, Redis for caching frequently accessed data, and PostgreSQL as the persistent database.

Prerequisites

Before you begin, make sure you have the following prerequisites installed:

Getting Started

Follow these steps to set up and run the blog infrastructure:

  1. Clone this repository to your local machine:

    git clone https://github.com/joshjms/monokrom.git
    cd monokrom
  2. Create an .env file in the root directory of the project to configure your environment variables.

  3. Create files backup/ and cache/ in the root directory

  4. Build and start the Docker containers using docker-compose

    docker-compose up -d
  5. Run the Go application

    go run .

Your application should be running at localhost:3000.

API Documentation

  • POST - /post Creates a new post.

  • GET - /post/:slug Gets a post.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published