Just a simple website to generate random image from your chosen image list.
Can be used for randoming website background image by calling your url in CSS. Or randoming your forum's signature.
Inspired by sig.grumpybumpers.
- Go
- NodeJS
- PostgreSQL
- Docker + Docker compose (optional)
- Git clone this repo.
git clone https://github.com/rl404/image-randomizer
- Rename
backend/.env.sample
to.env
and modify according to your configuration. - Rename
frontend/.env.sample
to.env
and modify according to your configuration. - Start the backend service. (Assumed the database is ready to use).
cd backend make
- Open new console/terminal and start the frontend service.
cd frontend npm run dev
- http://localhost:31001 and http://localhost:31002 are ready to use*.
*Port depends on port
in their .env
file.
- Do step 1-3 above.
- Build and start docker containers.
docker-compose up
MIT License
Copyright (c) 2022 Axel