Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 343eb05

Browse files
danjoadimaanj
authored andcommitted
Cleanup folder layout
1 parent d7e41c0 commit 343eb05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+18
-2711
lines changed

media-store/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ Welcome to your new project.
44

55
It contains these folders and files, following our recommended project layout:
66

7-
| File or Folder | Purpose |
8-
| -------------- | ------------------------------------ |
9-
| `app/` | will contain compiled front bundles |
10-
| `app-src/` | contains frontend app on react |
11-
| `deployers/` | contains deployment staff |
12-
| `db/` | your domain models and data go here |
13-
| `srv/` | your service models and code go here |
14-
| `test/` | your services tests |
15-
| `package.json` | project metadata and configuration |
16-
| `mta.yaml` | deployment config |
17-
| `readme.md` | this getting started guide |
18-
| `server.js` | initial server set up |
7+
| File or Folder | Purpose |
8+
|------------------|--------------------------------------|
9+
| `app/` | will contain compiled front bundles |
10+
| `app/react/` | contains frontend app on react |
11+
| `app/deployers/` | contains deployment staff |
12+
| `db/` | your domain models and data go here |
13+
| `srv/` | your service models and code go here |
14+
| `test/` | your services tests |
15+
| `package.json` | project metadata and configuration |
16+
| `mta.yaml` | deployment config |
17+
| `readme.md` | this getting started guide |
18+
| `server.js` | initial server set up |
1919

2020
## Development
2121

@@ -31,7 +31,7 @@ npm run deploy
3131
cds watch
3232
```
3333

34-
- Open `app-src` folder and run next commands. This will install dependencies and run frontend src files watcher. When you will change src files your bundles in app directory will re-compiled. Now you can enjoy development:
34+
- Open `app/react` folder and run next commands. This will install dependencies and run frontend src files watcher. When you will change src files your bundles in app directory will re-compiled. Now you can enjoy development:
3535

3636
```json
3737
npm install
@@ -62,14 +62,14 @@ npm run watch
6262
cf login
6363
```
6464

65-
- Open `app-src` folder and run the following commands. This will create frontend production bundles in app subfolder:
65+
- Open `app/react` folder and run the following commands. This will create frontend production bundles in app subfolder:
6666

6767
```json
6868
npm install
6969
npm run build
7070
```
7171

72-
- Clean up deployers/html5Deployer/resources folder from the previous frontend build
72+
- Clean up app/deployers/html5Deployer/resources folder from the previous frontend build
7373

7474
- From root directory run:
7575

media-store/app-src/.babelrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

media-store/app-src/.eslintrc.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

media-store/app-src/.gitignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

media-store/app-src/.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

media-store/app-src/.vscode/launch.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

media-store/app-src/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

media-store/app-src/package.json

Lines changed: 0 additions & 65 deletions
This file was deleted.

media-store/app-src/public/index.html

Lines changed: 0 additions & 44 deletions
This file was deleted.
-5.22 KB
Binary file not shown.

0 commit comments

Comments
 (0)