BrainRoute Database is a web portal for exploring blood-brain barrier molecule records, filtering molecule properties, viewing summary charts, submitting verification information, and downloading selected data.
The current application lives in brainroute-app.
Live site: https://omicscodeathon.github.io/brainroutedb
- Node.js 18 or newer
- npm
- A Supabase project with the BrainRoute
moleculestable and required read permissions
Clone the repository:
git clone https://github.com/omicscodeathon/brainroutedb.git
cd brainroutedb/brainroute-appInstall dependencies:
npm installCreate brainroute-app/.env.local:
Set the public Supabase values for your project:
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-public-anon-key
NEXT_PUBLIC_STREAMLIT_APP_URL=https://your-prediction-tool.example.comDo not commit .env.local. Use placeholders in documentation and keep project-specific credentials outside the repository.
Run the development server:
npm run devOpen http://localhost:3000.
From brainroute-app:
npm run buildThe app is configured for static export and GitHub Pages under the /brainroutedb base path in production.
brainroute-app/src/app/page.tsx: home pagebrainroute-app/src/app/search: search pagebrainroute-app/src/app/know-your-data: data explorerbrainroute-app/src/app/downloads: download pagebrainroute-app/src/app/verify-data: verification workflowbrainroute-app/lib/queries/brainroute.ts: Supabase query helpersbrainroute-app/lib/types.ts: molecule data types
- The active database connection is Supabase.
- The project expects public Supabase browser credentials only. Do not add service role keys or private credentials to frontend environment files.
- Built and maintained by the BrainRoute team, with an associated manuscript currently in preparation for publication.