Skip to content

Commit c316cc1

Browse files
author
Sourav Sarkar
committed
chore: rename client/server folders and update README
1 parent 7c41f9a commit c316cc1

File tree

29 files changed

+25
-150
lines changed

29 files changed

+25
-150
lines changed

advanced-integration/v2/client/html/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ npm install
5757
5858
3. Starting the development server
5959
60-
- **Start the server**: Follow the instructions in the server's README to start it. Typically, this involves running npm run dev or a similar command in the server directory.
60+
- **Start the server**: Follow the instructions in the server's README to start it. Typically, this involves running npm run start or a similar command in the server directory.
6161

6262
- **Start the client**:
6363

6464
```bash
65-
npm run dev
65+
npm run start
6666
```
6767

6868
This will start the development server, and you should be able to access the Advanced Checkout Page in your browser at `http://localhost:3000` (or the port specfied in the terminal output).
File renamed without changes.
File renamed without changes.

advanced-integration/v2/client/html/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
plugins: [],
66
envDir: "../",
77
envPrefix: "PAYPAL",
8-
root: "client",
8+
root: "src",
99
server: {
1010
port: 3000,
1111
proxy: {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
# Create an application to obtain credentials at
2+
# https://developer.paypal.com/dashboard/applications/sandbox
3+
14
PAYPAL_CLIENT_ID=PAYPAL_CLIENT_ID

advanced-integration/v2/client/react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ npm install
5757
5858
3. Starting the development server
5959
60-
- **Start the server**: Follow the instructions in the server's README to start it. Typically, this involves running npm run dev or a similar command in the server directory.
60+
- **Start the server**: Follow the instructions in the server's README to start it. Typically, this involves running npm run start or a similar command in the server directory.
6161

6262
- **Start the client**:
6363

6464
```bash
65-
npm run dev
65+
npm run start
6666
```
6767

6868
This will start the development server, and you should be able to access the Advanced Checkout Page in your browser at `http://localhost:3000` (or the port specfied in the terminal output).
File renamed without changes.
File renamed without changes.
File renamed without changes.

advanced-integration/v2/client/react/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
root: "client",
7+
root: "src",
88
envDir: "../",
99
envPrefix: "PAYPAL",
1010
server: {

0 commit comments

Comments
 (0)