lorem-ipsum

module
v0.0.0-...-a953039 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT

README

lorem Ipsum

Lorem Ipsum is a website where you can upload meme and share it for the whole internet to see, it has enough feature. Like upload image, react, comment, and delete your post. Its pretty much. I think i can improve it, But here it is.

Feature

  1. View post that user share
  2. React and Comment to that post
  3. Account authentication
  4. Uploading image and delete it

How to host it yourself

  1. First create this compose.yaml
services:
  web:
    image: muhhae/lorem-ipsum
    ports:
      - "8080:8080"
    environment:
      - MONGO_URI=mongodb://mongodb:27017/data
      - PORT=8080
      - JWT_SECRET=${JWT_SECRET}
    depends_on:
      - mongodb
  mongodb:
    image: mongo
    ports:
      - '27017:27017'
    volumes:
      - mongodb-data:/data/db
volumes:
  mongodb-data:
  1. Run
docker compose up -d
# reload service on change or just update lorem ipsum image
docker compose up -d --pull=muhhae/lorem-ipsum

Directories

Path Synopsis
cmd
app
api
views/home
templ: version: v0.2.543
templ: version: v0.2.543
views/login
templ: version: v0.2.543
templ: version: v0.2.543
views/register
templ: version: v0.2.543
templ: version: v0.2.543
views/shared
templ: version: v0.2.543
templ: version: v0.2.543
pkg
component
templ: version: v0.2.543
templ: version: v0.2.543
template
templ: version: v0.2.543
templ: version: v0.2.543

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL