Skip to content

Commit 54eab01

Browse files
committed
docs(java): update README
1 parent 0ddb4a1 commit 54eab01

1 file changed

Lines changed: 33 additions & 5 deletions

File tree

mflix/README-JAVA-SPRING.md

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ This is a full-stack movie browsing application built with Java Spring Boot and
1818

1919
- **Java 21** or higher
2020
- **Node.js 20** or higher
21-
- **MongoDB Atlas account** with the `sample_mflix` dataset loaded
22-
- [Load sample data](https://www.mongodb.com/docs/atlas/sample-data/) in your Atlas cluster
21+
- **MongoDB Atlas cluster or local deployment** with the `sample_mflix` dataset loaded
22+
- [Load sample data](https://www.mongodb.com/docs/atlas/sample-data/)
2323
- **Maven** (included via Maven Wrapper)
2424

2525
## Getting Started
@@ -130,12 +130,40 @@ The Next.js frontend uses:
130130
- **Next.js 16** with App Router
131131
- **Turbopack** for fast development builds
132132

133-
To build for production:
133+
#### Development Mode
134+
135+
For active development with hot reloading and fast refresh:
136+
137+
```bash
138+
cd client
139+
npm run dev
140+
```
141+
142+
This starts the development server on `http://localhost:3000` with Turbopack for fast rebuilds.
143+
144+
#### Production Build
145+
146+
To create an optimized production build and run it:
147+
148+
```bash
149+
cd client
150+
npm run build # Creates optimized production build
151+
npm start # Starts production server
152+
```
153+
154+
The production build:
155+
- Minifies and optimizes JavaScript and CSS
156+
- Optimizes images and assets
157+
- Generates static pages where possible
158+
- Provides better performance for end users
159+
160+
#### Linting
161+
162+
To check code quality:
134163

135164
```bash
136165
cd client
137-
npm run build
138-
npm start
166+
npm run lint
139167
```
140168

141169
## Issues

0 commit comments

Comments
 (0)