snowballtools-base/packages/frontend
zramsay 17640d3133 Copy updates (#38)
Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Reviewed-on: cerc-io/snowballtools-base#38
Co-authored-by: zramsay <zramsay@noreply.git.vdb.to>
Co-committed-by: zramsay <zramsay@noreply.git.vdb.to>
2024-11-14 09:10:19 +00:00
..
.storybook chore(storybook): icons to correct folder (#216) 2024-06-22 17:27:37 -04:00
public chore: rename to laconic 2024-11-04 15:15:23 +05:30
src Copy updates (#38) 2024-11-14 09:10:19 +00:00
.env.example Integrate wallet IFrame for payments (#42) 2024-11-13 13:32:27 +00:00
.eslintrc.cjs storybook 2024-05-09 16:22:03 -04:00
.gitignore storybook 2024-05-09 16:22:03 -04:00
.node-version Switch from cra to vite 2024-04-11 21:48:58 -05:00
.prettierignore Add dist/ to .prettierignore (#195) 2024-05-22 14:50:37 -04:00
.prettierrc.json Create react app with tailwind, typescript, eslint and prettier (#4) 2023-12-08 10:50:55 +05:30
chromatic.config.json storybook 2024-05-09 16:22:03 -04:00
index.html chore: rename to laconic 2024-11-04 15:15:23 +05:30
package.json Upgrade WalletConnect version to 2.16.1 (#27) 2024-11-04 08:59:20 +00:00
postcss.config.js Lint using tsc; fix type errors 2024-04-11 21:49:14 -05:00
README.md Deploy directly from github repo 2024-07-05 09:36:05 -06:00
reload-dev.sh Fix dev script 2024-05-02 15:47:23 -05:00
tailwind.config.js style: projects and settings 2024-11-04 15:15:23 +05:30
tsconfig.json resolve aliases 2024-05-14 13:27:23 -04:00
tsconfig.node.json Switch from cra to vite 2024-04-11 21:48:58 -05:00
vite.config.ts revert fix 2024-06-25 01:14:08 -04:00

frontend

This is a vite react nextjs project in a yarn workspace.

Getting Started

Install dependencies

In the root of the project, run:

yarn

Build backend

yarn build --ignore frontend

Environment variables

Local

Copy the .env.example file to .env:

cp .env.example .env

Staging environment variables

Change in deployer/deploy-frontend.staging.sh

Production environment variables

Change in deployer/deploy-frontend.sh

Run development server

yarn dev

Deployment

From the root of the project,

Staging

cd packages/deployer && ./deploy-frontend.staging.sh

Production

cd packages/deployer && ./deploy-frontend.sh

Deployment status

Check the status of the deployment here