Skip to content

Repository files navigation

Academic Portfolio & Publications Manager — Developer README

Summary

Minimal portfolio web app (Next.js + Convex) with admin UI and file storage. This README contains only the essential developer setup and repository pointers.

Quick setup

Prerequisites

  • Node.js 18+ (LTS)
  • npm (or yarn/pnpm)

Install

npm install

Run (development)

npm run dev

Build

npm run build
npm start

Convex (local development)

  • Start Convex locally if you use it: npx convex dev (or convex dev) in a separate terminal.

Environment (template)

Create a .env.local from the template below. Do not commit secrets.

.env.example

CONVEX_DEPLOYMENT=
NEXT_PUBLIC_CONVEX_URL=

# Convex HTTP Actions URL
CONVEX_SITE_URL=

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

Project structure (key locations)

  • src/app/ — Next.js routes & pages (public, admin)
  • src/features/ — feature folders (profile, publications, sections)
  • src/shared/ui/ — reusable components (Button, Dialog, Skeleton, DatePicker)
  • src/hooks/ — client hooks (profile, publications, file URL)
  • convex/ — Convex schema and server functions (schema.ts, profile.ts, store.ts)
  • public/ — static assets (images, static CV fallback)

Loading / UX guidance

  • Reuse PublicationListSkeleton and UniversalSkeleton for content loading states.
  • Prefer component-level skeletons (content-only) rather than full-page flashes.

Common dev tasks

  • Add a convex migration: update convex/schema.ts and run Convex local/dev tooling.
  • File uploads: use convex/store.ts helpers (getUploadUrl, finalizeUpload, deleteFile).
  • To debug client/server component errors: ensure files that use React hooks or createContext include "use client" at the top.

Tests & lint

  • Run unit tests: npm test
  • Lint: npm run lint

Notes

  • This README intentionally omits secret values; use the .env.example as a template.
  • Keep UI skeletons in src/shared/ui/ and reuse them for lists and forms.

Contact

See repository owner for access and CI details.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages