This project has been renamed from FluxTest to Placeholdr. Honestly, FluxTest was a terrible, ChatGPT-generated name that we selected because we were too lazy to pick a good one, and we chose Placeholdr🤣.
Placeholdr is a simple, open-source, self-hostable tool for collecting product feedback and analysis. The idea behind Placeholdr is that product managers or other non-technical team members no longer have to rely on the engineering team to help them run minor experiments and other activities they want to conduct on their platform with their users.
With Placeholdr, all the developers have to do is integrate minimal code into their product's HTML. After that, Placeholdr handles everything else, from rendering components from its collection of pre-built feedback components, which users can pick from, to ensuring that the data collected from these pre-built components is stored in the right location for running analytics.
Some of the things it can do:
-
Involve team members with less technical skills.
-
Require minimal setup to start using Placeholdr.
-
Offer diverse feedback collection components that can be used with the click of a button.
Find out more from the video here.
- A server with Node.js version 16.13 or newer
- A database. Placeholdr supports PostgreSQL.
- Placeholdr requires
pnpm
to be installed if not already present. can be done withnpm i -g pnpm
- Docker and Docker Compose
Clone the project
git clone https://github.com/balub/Placeholdr.git
Go to the project directory
cd Placeholdr
Install dependencies
pnpm install
Make the installation script executable:
chmod +x install.sh
Run the installation script to set up pnpm
and other necessary steps:
./install.sh
Build the containers:
docker compose build
From the root directory:
- Start the containers:
docker compose up
- Run the migrations in the backend containers:
- Find the container ID for the backend by running:
docker ps
-
Copy the container ID of the
placeholdr-backend
image. -
Run the following command to access the container shell:
docker exec -it <container_id> bash
- Inside the shell, run:
npx prisma migrate dev
- Run the seed script
npx run seed
- Navigate to the backend package and open it in your preferred IDE:
cd packages/backend
- Navigate to the dashboard package:
cd packages/dashboard
- If dependencies are not installed, run:
pnpm i
- Start the development server:
pnpm run dev
To run this project, you will need to add the following environment variables to your .env file. You can do so using the .env.example
file already present by.
cp .env.example .env
Contributions are always welcome!
Talented frontend engineers and designers please help us 🥲🥲.
Placeholdr (the code in this repository) is licensed under the MIT license.