maxserver 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,16 +1,6 @@
1
- [![npm version](https://img.shields.io/npm/v/vite-plugin-lint-overlay.svg?style=flat)](https://www.npmjs.com/package/vite-plugin-lint-overlay) [![license](https://img.shields.io/npm/l/vite-plugin-lint-overlay.svg?style=flat)](./LICENSE)
2
-
3
- <p align="center" style="margin-top: 20px;" >
4
- <img src="https://raw.githubusercontent.com/max-matinpalo/maxserver/refs/heads/main/assets/logo.png" alt="Project logo" width="160">
5
- </p>
6
- <br>
7
-
8
-
9
1
  # maxserver
10
- ‼️ **ATTENTION** ‼️ - Not download yet, check out few days later 😉
11
- I am simplifying and improving things, that it will work for everyone plugn play.
12
-
13
- Ready node server setup based on **Fastify** to speed up backend development.
2
+ Nothing Special.
3
+ Just a Node server setup based on **Fastify** to speed up backend development.
14
4
  maxserver stands for **maximized simplicity** and **minimum boilerplate**.
15
5
 
16
6
  - **Auto Routes**: auto imports and registers routes and schemas
@@ -224,22 +214,4 @@ Rule of thumb: make the message something you would want to see at 03:00 in logs
224
214
  - Dependencies: original fastify packages + scalar/fastify-api-reference
225
215
  - The source is simple. Everyone can read, understand and modify if needed.
226
216
 
227
- <br>
228
-
229
- ## 🛠️ Tips & Tools
230
-
231
- ### 🔌 Scalar API Client (Live Testing)
232
- - Open: `http://localhost:3000/docs`
233
-
234
-
235
- ### ⚡ VS Code Auto-Start
236
- In `.vscode/tasks.json`, enable the task with:
237
- ```json
238
- "runOptions": { "runOn": "folderOpen" }
239
- ```
240
-
241
- ### 🤖 AI Assistants
242
- Copy **`RULES.md`** into your AI tool as system context,
243
- then ask it to generate routes + schemas.
244
-
245
-
217
+ <br>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxserver",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Node server setup based fastify",
5
5
  "author": "Max Matinpalo",
6
6
  "type": "module",
package/src/setup.js CHANGED
@@ -13,6 +13,7 @@ import helmet from "@fastify/helmet";
13
13
  export async function setupHelmet(app) {
14
14
  await app.register(helmet, {
15
15
  contentSecurityPolicy: false,
16
+ frameguard: false,
16
17
  crossOriginResourcePolicy: {
17
18
  policy: "cross-origin"
18
19
  }
@@ -1,7 +1,7 @@
1
1
  export default {
2
- summary: "Test post hello",
2
+ summary: "Test hello",
3
3
  description: "Receives a name in the body and returns a personalized hello message.",
4
- tags: ["Tests"],
4
+ tags: ["Test"],
5
5
  body: {
6
6
  type: "object",
7
7
  properties: {
@@ -1,7 +1,7 @@
1
1
  export default {
2
- summary: "Test get welcome",
2
+ summary: "Test welcome",
3
3
  description: "Returns a friendly welcome message to verify the server is operational.",
4
- tags: ["Tests"],
4
+ tags: ["Test"],
5
5
  response: {
6
6
  200: {
7
7
  type: "object",
File without changes
File without changes