Skip to content

Web app and website (all static pages are also here). Is a client to bodypace personal and private data servers, using e2e encryption everywhere. https://bodypace.org

License

Notifications You must be signed in to change notification settings

Bodypace/bodypace-frontend

Repository files navigation

Source code of bodypace.org website.

Webapp that encrypts and decrypts everything locally (in browser). Unencrypted data never leaves your device.

Package License GitHub commit activity (branch) GitHub package.json version (branch) GitHub Actions Workflow Status

Bodypace frontend

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

Note about downgrade from Next 14 to Next 13

this project was created with:

"next": "14.0.1",
"msw-storybook-addon": "^2.0.0-beta.1",

but it was downgraded to

"next": "13.2.4",
"msw-storybook-addon": "2.0.0-beta.2", (yea, here it is higher)

NextJS was downgraded because at 2024-04-01 NextJS 14 did not work on raspberry pi linux/arm/v7 architecture (from what I tried). Next 14 has a dependency on SWC which does not provide prebuild binary for armv7l and I failed to run npm in such a way that it will build that for me, thus I downgraded (simpler than wasting 4 days to learn how cross-compilation works on npm or wait each time few hours for a build to finish on emulated armv7l on my host amd64/x86_64 architecture).

in tsconfig.js such changes were made:

from:

"module": "esnext",
"moduleResolution": "bundler",

to:

"module": "nodenext",
"moduleResolution": "nodenext",
"forceConsistentCasingInFileNames": true  (new key-value pair)

everything else is in this commmit, check git history.

Those 2 lines added to vscode setting:

"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true

were added by npm run lint after downgrading to NextJS 13. Idk exactly why, get rid of it after upgrading back to latest NextJS version.

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 Inter, a custom Google Font.

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.

About

Web app and website (all static pages are also here). Is a client to bodypace personal and private data servers, using e2e encryption everywhere. https://bodypace.org

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published