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/sample.env
to.env
and modify according to your configuration. - Modify
frontend/.env
according to backend host and port. - Start the backend service. (Assumed the database is ready to use).
cd backend go run main.go
- Open new console/terminal and start the frontend service.
cd frontend npm start
- 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) 2020 Axel