Go to file
Joonas 4f2788ee4b Update README 2024-01-06 19:41:03 +02:00
app Update README, give session cookie secrets with .env 2023-11-21 13:16:15 +02:00
prisma Update README 2023-11-22 11:17:03 +02:00
public Add default pfp 2023-11-13 13:33:40 +02:00
.dockerignore Add very basic support for Docker 2024-01-06 19:05:30 +02:00
.env.example Update README, give session cookie secrets with .env 2023-11-21 13:16:15 +02:00
.eslintrc.cjs initial commit 2023-11-09 13:37:40 +02:00
.gitignore Add default pfp 2023-11-13 13:33:40 +02:00
Dockerfile Add very basic support for Docker 2024-01-06 19:05:30 +02:00
README.md Update README 2024-01-06 19:41:03 +02:00
docker-compose.yml Add very basic support for Docker 2024-01-06 19:05:30 +02:00
package.json Switch from bcrypt to argon2 for password hashing 2023-11-16 16:24:11 +02:00
pnpm-lock.yaml Update README 2023-11-22 11:17:03 +02:00
remix.config.js Add following and followers pages and some layout tweaks 2023-11-20 13:42:57 +02:00
remix.env.d.ts initial commit 2023-11-09 13:37:40 +02:00
tailwind.config.ts Add reposts, like receipts, Catppuccin styling, refactors, fixes and limit the data thats sent to the client 2023-11-14 13:38:11 +02:00
tsconfig.json initial commit 2023-11-09 13:37:40 +02:00

README.md

Twitter Clone

A literal Twitter Clone. It is made with Remix, Prisma and Tailwind CSS.

Running for dev or prod

Clone the repo, install dependencies, put secrets in .env, run the migration and start.

git clone https://git.disroot.org/qwertyasdfgh/twitter-clone
pnpm install
cp .env.example .env // edit the file!!!
pnpm prisma migrate deploy/dev // deploy if prod, dev if dev
pnpm prisma generate
pnpm build // if prod
pnpm start/dev // start if prod, dev if dev

Run the app behind a reverse proxy on prod

Docker

Copy .env.example as .env and then just execute docker compose up -d