How resilient-labs/kinfolx works
Project type and purpose
• Kinfolx is a full-stack web application for collecting and displaying user-submitted company reviews (diversity & culture ratings).
• The frontend is a React/Vite single-page app; the backend is a Node/Express API; data is stored in MongoDB; Clerk is used for authentication; Railway/Caddy handle deployment and hosting.
File structure
• Top level:
• public/, index.html, assets, static font files → static front-end resources served by Vite/Caddy.
• src/ → React components, pages, layouts, utilities.
• server/ → Express app organized in MVC style:
– config/database.js
– models/{User,Company,Reviews}.js
– controllers/{user,company,reviews}.js
– routes/{user,company,news,reviews}.js
– server.js entrypoint.
• .github/workflows → CI/CD for code formatting and deploy to Railway.
• Caddyfile, nixpacks.toml → web server & build/runtime config.
README for technical stack and architecture notes
• Confirms React + Vite on front, Node.js + Express on back, MongoDB, Clerk for auth.
• Front and back run on separate ports (5173 & 3000), use environment variables with VITE_ prefix for client keys.