You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(main): Enhance /about endpoint & refactor API structure for v1.1.0 [#4] (#5)
* feat: Update About DTO and schema (refs #4)
* feat: Update the description field in 'About' to support an array (refs #4)
* feat: Update the services to sort by the sortDate field (refs #4)
* feat: Remove views field from Videos (refs #4)
* feat: Remove readTime field from Blogs and add link field (refs #4)
* feat: Update About DTO and schema (refs #4)
* feat: Update MongoDB uri and add .env.exampl (refs #4)
* chore: Update version to 1.1.0 (refs #4)
* docs: Add VERSIONING.md, update CHANGELOG.md & README.md (refs #4)
* fix: About DTO ISEmail (refs #4)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,33 @@
2
2
3
3
All notable changes to this project are documented in this file.
4
4
5
+
Changes are organized into the following categories:
6
+
7
+
-**Added:** New features or functionality introduced to the project.
8
+
-**Changed:** Modifications to existing functionality that do not add new features.
9
+
-**Fixed:** Bug fixes that resolve issues or correct unintended behavior.
10
+
-**Removed:** Features or components that have been removed from the project.
11
+
5
12
## [Unreleased]
6
13
7
14
- Changes for the next release are available in development branches.
8
15
16
+
## [1.1.0] - 2025-05-12
17
+
18
+
-**Added:**
19
+
20
+
- Add social media and other relevant external links to the `/about` endpoint for better representation.
21
+
- Add `VERSIONING.md` file to document the versioning strategy and release process for the project.
22
+
23
+
-**Changed:**
24
+
25
+
- Update the `description` field in the `/about` endpoint to support an array of multiple descriptive entries, allowing for more detailed and modular content.
26
+
- Refactor the DTO (Data Transfer Object) structure to follow `camelCase` naming conventions for consistency with frontend standards.
27
+
- Update MongoDB queries to return data ordered by date for improved relevance.
28
+
9
29
## [1.0.0] - 2025-05-04
10
30
11
-
-**Added (New features):**
31
+
-**Added**
12
32
13
33
- Set up initial project structure using [NestJS](https://nestjs.com/) and [TypeScript](https://www.typescriptlang.org/) running on [Node.js](https://nodejs.org/).
14
34
- Built and tested the following RESTful API endpoints:
@@ -29,7 +49,7 @@ All notable changes to this project are documented in this file.
29
49
30
50
## [0.0.1] - 2025-05-04
31
51
32
-
-**Added (New features):**
52
+
-**Added:**
33
53
34
54
- Initialize project with **NestJS**
35
55
- Add Documentation:
@@ -51,14 +71,16 @@ All notable changes to this project are documented in this file.
Copy file name to clipboardExpand all lines: README.md
+83-22Lines changed: 83 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,46 @@
2
2
3
3
This is the API for Dileepa's personal website ([dileepa.dev](https://dileepa.dev)), built with [NestJS](https://nestjs.com/). It provides various endpoints to access information about Dileepa and other related data.
@@ -30,6 +51,13 @@ This is the API for Dileepa's personal website ([dileepa.dev](https://dileepa.de
30
51
npm install
31
52
```
32
53
54
+
3. Copy the example environment file and update it with your configuration:
55
+
56
+
```bash
57
+
cp .env.example .env
58
+
# Then edit .env as needed
59
+
```
60
+
33
61
## Running the App
34
62
35
63
### Development
@@ -40,7 +68,7 @@ To run the application in development mode with file watching:
40
68
npm run start:dev
41
69
```
42
70
43
-
The application will be available at `http://localhost:3000` (or the configured port).
71
+
The application will be available at `http://localhost:3000` (or the configured port in `.env`).
44
72
45
73
### Production
46
74
@@ -51,23 +79,35 @@ npm run build
51
79
npm run start:prod
52
80
```
53
81
54
-
## Linting and Formatting
82
+
## API Documentation
55
83
56
-
To lint the codebase:
84
+
Swagger UI is available at [`/api`](http://localhost:3000/api) once the app is running. (e.g., `http://localhost:3000/api`)
57
85
58
-
```bash
59
-
npm run lint
60
-
```
86
+
## Testing
61
87
62
-
To format the codebase using Prettier:
88
+
To run tests:
63
89
64
90
```bash
65
-
npm run format
91
+
npm run test
66
92
```
67
93
94
+
## Versioning
95
+
96
+
This project follows a versioning pattern similar to [Semantic Versioning](https://semver.org/) (SemVer) for managing releases. For detailed versioning information, see the [VERSIONING.md](VERSIONING.md) file.
97
+
68
98
## Contributing
69
99
70
-
Contributions are welcome! Please follow the guidelines outlined in [CONTRIBUTING.md](CONTRIBUTING.md) and adhere to the [Code of Conduct](CODE_OF_CONDUCT.md). Also, review the [Branch Naming](BRANCH_NAMING_GUIDELINES.md), [Commit Message](COMMIT_MESSAGE_GUIDELINES.md), and [Pull Request](PULL_REQUEST_GUIDELINES.md) guidelines.
100
+
Contributions are welcome! Please read the following before contributing:
For any issues or feature requests, please use the [issue templates](.github/ISSUE_TEMPLATE) provided in the repository. You can also check the [CHANGELOG.md](CHANGELOG.md) for updates and changes.
71
111
72
112
## Security
73
113
@@ -76,3 +116,24 @@ If you discover any security vulnerabilities, please report them as described in
76
116
## License
77
117
78
118
This project is licensed under the terms of the [LICENSE](LICENSE) file.
|`/tools`| Lists the tools, frameworks, and technologies I use. |
132
+
133
+
## Deployment on Azure
134
+
135
+
This project is designed for deployment on Azure App Service and uses Azure Blob Storage for image hosting. For deployment instructions, see the [official Azure documentation](https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=windows).
136
+
137
+
## Contact
138
+
139
+
For any inquiries or feedback, please reach out to me via [email](mailto:contact@dileepa.dev) or through my [website](https://dileepa.dev).
-**MAJOR** – Incompatible API changes or major breaking updates
24
+
-**MINOR** – Backward-compatible functionality and feature additions
25
+
-**PATCH** – Backward-compatible bug fixes and small improvements
26
+
27
+
### Examples
28
+
29
+
-`1.0.0` – First stable release
30
+
-`1.1.0` – Adds a new endpoint or feature
31
+
-`1.1.1` – Fixes a bug or makes a minor improvement
32
+
33
+
## Release Process
34
+
35
+
All notable changes are documented in the [CHANGELOG.md](CHANGELOG.md) file.
36
+
37
+
### Typical Steps
38
+
39
+
1. Complete all features and fixes planned for the release
40
+
2. Update the `CHANGELOG.md` with categorized entries:
41
+
-**Added**, **Changed**, **Fixed**, **Removed**
42
+
3. Bump the version number in `package.json` (and `package-lock.json` if needed)
43
+
4. Commit changes with a version-related message (e.g. `chore: release v1.2.0`)
44
+
5. Tag the release:
45
+
46
+
```bash
47
+
git tag v1.2.0
48
+
git push origin v1.2.0
49
+
```
50
+
51
+
6. (Optional) Create a GitHub release and paste the relevant changelog section
52
+
53
+
## Pre-release Versions
54
+
55
+
For beta or release candidates, we use suffixes:
56
+
57
+
-`1.2.0-beta.1` – Beta release
58
+
-`2.0.0-rc.1` – Release candidate
59
+
60
+
These versions are intended for testing and may not be fully stable.
61
+
62
+
## Viewing Tags & Differences
63
+
64
+
List all version tags:
65
+
66
+
```bash
67
+
git tag
68
+
```
69
+
70
+
View differences between versions:
71
+
72
+
```bash
73
+
git log v1.1.0..v1.2.0
74
+
```
75
+
76
+
## Questions or Issues?
77
+
78
+
If you have questions about the versioning strategy or encounter version-related problems, feel free to open an issue on the [GitHub repository](https://github.com/dileepadev/api.dileepa.dev/issues).
0 commit comments