Skip to content

IsabelPB/AZ-genetic-webapp

 
 

Repository files navigation

AZ_genes - Privacy-First Genetic Data Management

A B2B SaaS platform that provides a single source of truth for genetic and health records, secured by Distributed Ledger Technology (DLT).

Links :

-PitchDeck video

https://www.canva.com/design/DAG0KvOmGu4/bplGbnkHvS2hZFBipmloig/view?utm_content=DAG0KvOmGu4&utm_campaign=designshare&utm_medium=link&utm_source=recording_view

-PitchDeck pdf

https://www.canva.com/design/DAG0KvOmGu4/lfbLgNxMlLbJPgDiruI9Cw/edit?utm_content=DAG0KvOmGu4&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton

-AppDemoVideo

https://www.canva.com/design/DAG3YytAzVM/WW9-Yt-mYt9EBu1WpO2ivw/view?utm_content=DAG3YytAzVM&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h0bdec65d25

-Hedera Certificates

Isabel Benedí https://certs.hashgraphdev.com/ebc5fac9-828b-4d8a-91bd-049d1dac8c6f.pdf

Abdulahi

https://certs.hashgraphdev.com/c9590ee9-1a64-4740-a6d4-da4921374b41.pdf

This is a Next.js project bootstrapped with create-next-app.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Testing locally with the mock API server

This repository includes a lightweight in-process mock API server used by the test suite so you can run integration tests entirely offline without a real Supabase backend or running the full Next server.

How it works

  • The mock server lives at tests/mockServer.ts and implements the subset of endpoints the tests exercise (upload, grant-access, get-file, get-analytics and file deletion).
  • Test helpers in tests/helpers.ts use an in-memory mocked Supabase client (tests/mocks/supabase.ts) to create users and sessions. The helpers start the mock server on port 3000 so tests that call http://localhost:3000/api/* hit the local handlers.

Run tests

Use the project's test runner (Vitest) via the npm script. From the repository root:

$env:NODE_ENV = 'test'; npm test

If you want verbose debugging for test server/auth flows, enable DEBUG:

$env:DEBUG = 'az-genes:*'; $env:NODE_ENV = 'test'; npm test

Notes

  • The mock server is intentionally simple and intended only for tests. It does not persist data between runs and is not secure—do not use it for production traffic.
  • If you prefer to skip auth during tests, you can relax middleware checks in test mode; see src/functions/edge/middleware/auth.ts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.5%
  • PLpgSQL 2.6%
  • Other 0.9%