Files
snowballtools-base/packages/frontend
nabarunandIsha 8bd1e17fd2 Add template for NextJS app (#34)
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75)

- Add hotfix for updating old DB with new org slug
- Add remove-deployment script (for debugging)
- Part of cerc-io/snowballtools-base#28
![image](/attachments/ceb0d4d6-4fa7-4914-ad18-c57d9d0f5b95)

Co-authored-by: Isha <ishavenikar7@gmail.com>
Reviewed-on: cerc-io/snowballtools-base#34
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-11-06 07:26:53 +00:00
..
2024-11-04 15:15:23 +05:30
2024-11-06 07:26:53 +00:00
2024-11-06 07:26:53 +00:00
2024-05-09 16:22:03 -04:00
2024-05-09 16:22:03 -04:00
2024-04-11 21:48:58 -05:00
2024-05-09 16:22:03 -04:00
2024-11-04 15:15:23 +05:30
2024-07-05 09:36:05 -06:00
2024-05-02 15:47:23 -05:00
2024-05-14 13:27:23 -04:00
2024-04-11 21:48:58 -05:00
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