This is a modern, responsive web platform for Dr. Niaraki, built with Next.js, TypeScript, and Tailwind CSS. It showcases research, publications, patents, and more, with a focus on maintainability and developer experience.
- Clone the repository:
git clone <repo-url> cd dr-niaraki-website
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open localhost:3000 in your browser.
/src— All source code (seesrc/README.mdfor details)/public— Static assets (images, fonts, etc.)/styles— Global and component CSS/pages— Next.js page routes and API endpoints/components— Reusable UI and feature components/datasets— Data used for publications, patents, research, etc./hooks— Custom React hooks/context— React context providers/theme— Theme and typography system
- Edit or add features: Work in the appropriate
src/subfolder. See each folder'sREADME.mdfor details. - Add a new page: Create a file in
src/pages/. For API endpoints, usesrc/pages/api/. - Add a new component: Place it in the relevant
src/components/subfolder. - Add or update data: Edit files in
src/datasets/. - Styling: Use Tailwind CSS classes or add styles in
src/styles/. - TypeScript: All code should be strongly typed. Avoid
any. - Linting: Run
npx next lintbefore pushing. - Testing: (Add instructions if tests are present.)
- Deploys automatically on Vercel (see Vercel dashboard for details).
- For manual deploy:
npm run buildthennpm start.
- Fork, branch, commit, and PR as usual.
- Follow code style and folder conventions.
- Update documentation if you add new features or folders.
- See
src/README.mdand each subfolder'sREADME.mdfor deep dives. - For questions, contact the project maintainer or check the issues tab.