Official website for CatalystNeuro, showcasing our services, funded projects, NWB conversions, team, and blog.
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- UI Components: shadcn/ui (based on Radix UI)
- Routing: React Router
- Content: Markdown with front matter
- Testing: Vitest + React Testing Library
- Deployment: Netlify
.
├── src/
│ ├── components/ # React components
│ ├── content/ # Markdown content (blog, projects, etc.)
│ ├── pages/ # Page components
│ ├── utils/ # Utility functions
│ └── hooks/ # Custom React hooks
├── public/ # Static assets
├── scripts/ # Build and maintenance scripts
└── netlify/ # Netlify serverless functions
- Node.js (LTS version recommended)
- npm
- Clone the repository:
git clone https://github.com/catalystneuro/catalystneuro.github.io.git
cd catalystneuro.github.io
- Install dependencies:
npm install
- Start the development server:
npm run dev
The site will be available at http://localhost:5173
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production build locallynpm run test
- Run testsnpm run test:coverage
- Run tests with coverage reportnpm run lint
- Run ESLint
Tests are written using Vitest and React Testing Library. Run the test suite:
npm run test
For coverage report:
npm run test:coverage
The site is automatically deployed to Netlify when changes are pushed to the main branch. The build process:
- Builds the React application
- Generates static HTML
- Deploys to Netlify CDN
Manual deployment can be triggered through the Netlify dashboard or CLI.
Required environment variables for deployment:
NETLIFY_ACCESS_TOKEN
- For Netlify API access
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and ensure they pass
- Submit a pull request
Copyright © CatalystNeuro. All rights reserved.