DevNet is a full-stack platform for developers and employers: community posts, job listings + applications, direct messages, notifications, and an admin dashboard.
- Frontend: React + TypeScript + Vite + Tailwind
- Backend: Express + TypeScript
- Auth: Passport (local) + server sessions stored in Postgres
- DB: PostgreSQL + Drizzle ORM
client/— React appserver/— Express API + auth + static servingshared/— Drizzle schema + shared types/validationscript/— build + utilities
- Install deps:
npm install- Create your env file:
copy .env.example .env- Fill in
DATABASE_URLandSESSION_SECRETin.env.
npm run devServer starts on http://127.0.0.1:5000 by default.
Push schema to DB:
npm run db:pushCreate an admin user:
npm run create-admin- Typecheck:
npm run check - Lint:
npm run lint - Format:
npm run format - Smoke test (server must be running):
npm run test:smoke
npm run build
npm run startThe build outputs:
- client assets to
dist/public - server bundle to
dist/index.cjs