View Demo
Demo Admin
http://linkindemo.vercel.app/admin
adminlinkin123



DATABASE_URL - Postgres database urlHASHSALT - random secret keyNODE_ENV - set NODE_ENV to productionyoudomain/admin to view admin loginadminlinkin123DATABASE_URL - Postgres database urlHASHSALT - random secret keyyoudomain/admin to view admin loginadminlinkin123HASHSALT - random secret keyPORT - 3000RAILWAY - Set to 1 to run migrations and seeding in docker build stage . set 0 to avoid migrations and seeding in docker build stageDATABASE_URL - Postgres database url . use this variable if you are not using railway postgres pluginyoudomain/admin to view admin loginadminlinkin123docker build . -t linkin commanddocker run -d -p 3000:3000 -e DATABASE_URL='postgres://linkin:123@localhost:5432/linkin' -e HASHSALT='123' linkin. make sure you specified DATABASE_URL and HASHSALT environment varaibles.pgbouncer=true parameter in DATABASE_URL ex - postgres://xx:xxx@xxxx:5432/xxxx?pgbouncer=truegit clone https://github.com/RizkyRajitha/linkin.git
cd linkin
npm i
Setup local environmrnt variables in .env
example .env file
DATABASE_URL=postgres://linkin:123@localhost:5432/linkin
HASHSALT=123
create database relations with prisma migration
undefinedyou must have Postgres database setup locallyundefined
npx prisma migrate dev
Addign Initial data to the database to get you started
npm run seed
npm run dev
Join our discord community for questions and updates