Secreto-like anonymous messaging app.
This project was bootstrapped with Vite (React) and powered by Supabase.
Query to create table messages
:
CREATE TABLE messages (
id BIGINT GENERATED ALWAYS AS IDENTITY NOT NULL,
message TEXT DEFAULT '' NOT NULL,
owner BOOL DEFAULT FALSE NOT NULL,
active BOOL DEFAULT TRUE NOT NULL,
parent BIGINT NULL,
created TIMESTAMP WITH TIME ZONE DEFAULT NOW() NOT NULL,
deleted TIMESTAMP WITH TIME ZONE DEFAULT NULL NULL,
PRIMARY KEY (id),
FOREIGN KEY (parent) REFERENCES messages (id)
);
Environment variable needed:
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON=
VITE_APP_NAME=
VITE_APP_TITLE=
VITE_APP_DESCRIPTION=
To run local server use:
yarn dev
To build the website:
yarn build
Originally this project belonged to:
Reynadi531/secret-message
Fork Sooluh/secret
With an MIT License.
Rebuilt with MIT License anyway by Suluh S & Modified by OrangeCat.