Skip to content

Commit 32c7dbd

Browse files
committed
Change references to "JavaScript" sample app to "Node" sample app
1 parent ac17650 commit 32c7dbd

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

.copier/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ workflows:
6767
transformations:
6868
- move: { from: "mflix/client", to: "client" }
6969
- move: { from: "mflix/server/js-express", to: "server" }
70-
- copy: { from: "mflix/README-JAVASCRIPT-EXPRESS.md", to: "README.md" }
70+
- copy: { from: "mflix/README-NODE-EXPRESS.md", to: "README.md" }
7171
- copy: { from: "mflix/.gitignore-js", to: ".gitignore" }
7272
commit_strategy:
7373
pr_title: "Update MFlix application from docs-sample-apps"

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,38 @@
55
## Sample App Information
66

77
**Which sample app are you using?**
8+
89
<!-- Check one -->
10+
911
- [ ] Java (Spring Boot)
10-
- [ ] JavaScript (Express.js)
12+
- [ ] Node (Express.js)
1113
- [ ] Python (FastAPI)
1214

1315
## Environment Details
1416

1517
**MongoDB Database Version:**
18+
1619
<!-- e.g., 7.0, 8.0, etc. -->
1720

1821
**MongoDB Driver Version:**
22+
1923
<!-- e.g., Java Driver 5.2.0, Node.js Driver 6.10.0, PyMongo 4.10.1, etc. -->
2024

2125
**Deployment Type:**
26+
2227
<!-- Check one -->
28+
2329
- [ ] Local MongoDB instance
2430
- [ ] MongoDB Atlas (cloud)
2531
- [ ] Docker container
2632
- [ ] Other (please specify):
2733

2834
**Operating System:**
35+
2936
<!-- e.g., macOS 14.5, Ubuntu 22.04, Windows 11, etc. -->
3037

3138
**Runtime Version:**
39+
3240
<!-- e.g., Java 17, Node.js 20.11.0, Python 3.11, etc. -->
3341

3442
## Steps to Reproduce
@@ -73,4 +81,3 @@ Before submitting this issue, please confirm:
7381
- [ ] I have verified my MongoDB connection string is correct
7482
- [ ] I have installed all required dependencies
7583
- [ ] I have searched existing issues to avoid duplicates
76-

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The sample app provides a Next.js frontend in the `client` directory, with the
1414
choice of three backend stacks in the `server` directory:
1515

1616
- Java: Spring Boot
17-
- JavaScript: Express.js
17+
- Node.js: Express.js
1818
- Python: FastAPI
1919

2020
```
@@ -34,7 +34,7 @@ choice of three backend stacks in the `server` directory:
3434
This repository serves as the source for the following artifact repositories:
3535

3636
- Java: [mongodb/sample-app-java-mflix](https://github.com/mongodb/sample-app-java-mflix)
37-
- JavaScript: [mongodb/sample-app-nodejs-mflix](https://github.com/mongodb/sample-app-nodejs-mflix)
37+
- Node.js: [mongodb/sample-app-nodejs-mflix](https://github.com/mongodb/sample-app-nodejs-mflix)
3838
- Python: [mongodb/sample-app-python-mflix](https://github.com/mongodb/sample-app-python-mflix)
3939

4040
## Development
@@ -46,9 +46,9 @@ to a target repository for each sample app. For configuration details, refer to
4646
### Branching Model
4747

4848
For development, work from the `development` branch. Make incremental PRs
49-
containing new features and bug fixes to `development`, *not* `main`.
49+
containing new features and bug fixes to `development`, _not_ `main`.
5050

51-
When all development work is complete, *then* create a release PR from
51+
When all development work is complete, _then_ create a release PR from
5252
`development` to `main`. Upon merging to `main,` the copier tool runs
5353
automatically. It creates a new PR in the target repository, which must be
5454
tested and merged manually.
@@ -91,7 +91,7 @@ To test and verify the PR, navigate to the target repository - see
9191
- [ ] Run the tests
9292
- [ ] Run the application and verify that it functions as expected.
9393
- [ ] Review the `deprecated_examples.json` file for any files that need to be
94-
deleted. If files are deleted:
94+
deleted. If files are deleted:
9595
- [ ] Add a commit to the copier PR to delete the files from the target repository.
9696
- [ ] Merge the PR.
9797

@@ -100,7 +100,7 @@ To test and verify the PR, navigate to the target repository - see
100100
If you are a developer having issues with the sample app, feel free to open an
101101
issue in this repository. Please include the following information:
102102

103-
- [ ] The sample app you are using (Java, JavaScript, or Python)
103+
- [ ] The sample app you are using (Java, Node.js, or Python)
104104
- [ ] The version of the MongoDB database you are using
105105
- [ ] The version of the MongoDB driver you are using
106106
- [ ] What type of deployment you're using (local, Atlas, etc.)
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JavaScript Express.js MongoDB Sample MFlix Application
1+
# Node Express.js MongoDB Sample MFlix Application
22

33
This is a full-stack movie browsing application built with Express.js and Next.js, demonstrating MongoDB operations using the `sample_mflix` dataset. The application showcases CRUD operations, aggregations, and MongoDB Search using the native MongoDB Node.js driver.
44

@@ -89,7 +89,6 @@ From the `server` directory, run:
8989
npm run dev
9090
```
9191

92-
9392
Or for production mode, run:
9493

9594
```bash
@@ -98,6 +97,7 @@ npm start
9897
```
9998

10099
The server will start on `http://localhost:3001`. You can verify it's running by visiting:
100+
101101
- API root: http://localhost:3001/
102102
- API documentation (Swagger UI): http://localhost:3001/api-docs
103103

@@ -126,6 +126,7 @@ The Next.js application will start on `http://localhost:3000`.
126126
### 5. Access the Application
127127

128128
Open your browser and navigate to:
129+
129130
- **Frontend:** http://localhost:3000
130131
- **Backend API:** http://localhost:3001
131132
- **API Documentation:** http://localhost:3001/api-docs
@@ -147,6 +148,7 @@ Open your browser and navigate to:
147148
### Backend Development
148149

149150
The Express.js backend uses:
151+
150152
- **Express.js 5** for REST API
151153
- **MongoDB Node.js Driver** for database operations
152154
- **TypeScript** for type safety
@@ -170,6 +172,7 @@ npm run test:coverage
170172
### Frontend Development
171173

172174
The Next.js frontend uses:
175+
173176
- **React 19** with TypeScript
174177
- **Next.js 16** with App Router
175178
- **Turbopack** for fast development builds
@@ -196,6 +199,7 @@ npm start # Starts production server
196199
```
197200

198201
The production build:
202+
199203
- Minifies and optimizes JavaScript and CSS
200204
- Optimizes images and assets
201205
- Generates static pages where possible

0 commit comments

Comments
 (0)