krsyer-server-monitor-pro 1.0.27 → 1.0.29

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.
Files changed (57) hide show
  1. package/monitor.js +7 -0
  2. package/package.json +9 -4
  3. package/DEPLOY_GUIDE.md +0 -68
  4. package/bin/cli.js +0 -84
  5. package/guestguru-api/.idea/guestguru-api.iml +0 -9
  6. package/guestguru-api/.idea/misc.xml +0 -6
  7. package/guestguru-api/.idea/modules.xml +0 -8
  8. package/guestguru-api/.idea/vcs.xml +0 -6
  9. package/guestguru-api/API_DESIGN_GUIDE.md +0 -140
  10. package/guestguru-api/API_DOCUMENTATION.md +0 -504
  11. package/guestguru-api/API_REQUIREMENTS_TENANTS.md +0 -110
  12. package/guestguru-api/AVAILABLE_TENANT_ENDPOINTS.md +0 -137
  13. package/guestguru-api/BACKEND_INSTRUCTIONS.md +0 -77
  14. package/guestguru-api/DINING_MODULE_INTEGRATION.md +0 -175
  15. package/guestguru-api/FRONTEND_FINANCE_MODULE.md +0 -151
  16. package/guestguru-api/README.md +0 -93
  17. package/guestguru-api/app.json +0 -12
  18. package/guestguru-api/database.sqlite +0 -0
  19. package/guestguru-api/eas.json +0 -21
  20. package/guestguru-api/ecosystem.config.js +0 -19
  21. package/guestguru-api/fix_db_schema.js +0 -77
  22. package/guestguru-api/list_columns.js +0 -27
  23. package/guestguru-api/package.json +0 -34
  24. package/guestguru-api/postman_backend_v2.json +0 -1745
  25. package/guestguru-api/postman_collection.json +0 -477
  26. package/guestguru-api/postman_environment.json +0 -17
  27. package/guestguru-api/public/icon.png +0 -0
  28. package/guestguru-api/public/icon_b64.txt +0 -1
  29. package/guestguru-api/readd_column.js +0 -27
  30. package/guestguru-api/server.js +0 -263
  31. package/guestguru-api/test_cashfree_connection.js +0 -52
  32. package/lib/controllers/cloudflareController.js +0 -1
  33. package/lib/controllers/dockerController.js +0 -1
  34. package/lib/controllers/networkController.js +0 -1
  35. package/lib/controllers/serverController.js +0 -1
  36. package/lib/ecosystem.config.js +0 -1
  37. package/lib/middleware/saasAuth.js +0 -1
  38. package/lib/public/login.html +0 -99
  39. package/lib/public/payment.html +0 -152
  40. package/lib/public/script.js +0 -1180
  41. package/lib/public/style.css +0 -1045
  42. package/lib/routes/cloudflareRoutes.js +0 -1
  43. package/lib/routes/dockerRoutes.js +0 -1
  44. package/lib/routes/networkRoutes.js +0 -1
  45. package/lib/routes/serverRoutes.js +0 -1
  46. package/lib/server.js +0 -1
  47. package/lib/services/cashfreeService.js +0 -1
  48. package/lib/views/activate.html +0 -109
  49. package/lib/views/index.html +0 -552
  50. package/license-portal/.env.example +0 -15
  51. package/license-portal/README.md +0 -93
  52. package/license-portal/ecosystem.config.js +0 -16
  53. package/license-portal/package.json +0 -22
  54. package/license-portal/server.js +0 -306
  55. package/license-portal/services/emailService.js +0 -126
  56. package/license-portal/views/pricing.html +0 -358
  57. package/temp_cf_method.js +0 -48
@@ -1,137 +0,0 @@
1
- # Available Tenant Endpoints
2
-
3
- This document lists all currently implemented endpoints for Tenant Management, excluding the Create Tenant endpoint (which is already documented/fixed).
4
-
5
- ## Base URL
6
- `{{url}}/api/tenants`
7
-
8
- ## Authentication
9
- All endpoints require the following header:
10
- - `x-access-token`: `{{admin_token}}`
11
-
12
- ---
13
-
14
- ## 1. Get All Tenants
15
- Fetch a paginated list of tenants with optional search and filter.
16
-
17
- - **Method**: `GET`
18
- - **URL**: `/api/tenants`
19
- - **Query Parameters**:
20
- - `page`: (Optional) Page number (default: 1)
21
- - `limit`: (Optional) Items per page (default: 10)
22
- - `search`: (Optional) Filter by name or phone
23
- - `status`: (Optional) Filter by status: `Active`, `Due Payment`, `Moved Out`, `All`
24
- - **Response**:
25
- ```json
26
- {
27
- "data": [
28
- {
29
- "id": "uuid",
30
- "name": "John Doe",
31
- "email": "john@example.com",
32
- "phone": "9876543210",
33
- "profileImage": "data:image/jpeg;base64,...",
34
- "roomNumber": "101",
35
- "status": "Active",
36
- "outstandingBalance": 0
37
- }
38
- ],
39
- "meta": {
40
- "total": 50,
41
- "page": 1,
42
- "limit": 10
43
- }
44
- }
45
- ```
46
-
47
- ---
48
-
49
- ## 2. Get Tenant Details
50
- Fetch detailed information for a single tenant, including recent payments involved.
51
-
52
- - **Method**: `GET`
53
- - **URL**: `/api/tenants/:id`
54
- - **Response**:
55
- ```json
56
- {
57
- "id": "uuid",
58
- "name": "John Doe",
59
- "email": "john@example.com",
60
- "phone": "9876543210",
61
- "roomNumber": "101",
62
- "profileImage": "data:image/jpeg;base64,...",
63
- "documents": "data:application/pdf;base64,...",
64
- "status": "Active",
65
- "outstandingBalance": 5000,
66
- "payments": [ ...last 5 payments... ]
67
- }
68
- ```
69
-
70
- ---
71
-
72
- ## 3. Update Tenant
73
- Update tenant details such as phone, name, or swap rooms.
74
-
75
- - **Method**: `PUT`
76
- - **URL**: `/api/tenants/:id`
77
- - **Body**: (Send specific fields to update)
78
- ```json
79
- {
80
- "name": "John Updated",
81
- "phone": "9999999999",
82
- "roomNumber": "102", // Triggers room swap logic
83
- "status": "Due Payment"
84
- }
85
- ```
86
-
87
- ---
88
-
89
- ## 4. Delete/Archive Tenant
90
- Soft deletes the tenant and releases their room assignment.
91
-
92
- - **Method**: `DELETE`
93
- - **URL**: `/api/tenants/:id`
94
- - **Response**:
95
- ```json
96
- {
97
- "message": "Tenant archived/deleted successfully."
98
- }
99
- ```
100
-
101
- ---
102
-
103
- ## 5. Move Out Tenant
104
- Mark a tenant as moved out and free up the room.
105
-
106
- - **Method**: `POST`
107
- - **URL**: `/api/tenants/:id/move-out`
108
- - **Response**:
109
- ```json
110
- {
111
- "message": "Tenant moved out successfully."
112
- }
113
- ```
114
-
115
- ---
116
-
117
- ## 6. Collect Rent (Manual Payment)
118
- Although technically under payment routes, this is crucial for tenant operations.
119
-
120
- - **Method**: `POST`
121
- - **URL**: `/api/payments`
122
- - **Body**:
123
- ```json
124
- {
125
- "tenantId": "uuid-of-tenant",
126
- "amount": 5000,
127
- "type": "monthly_rent", // optional
128
- "date": "2023-12-16" // optional, defaults to now
129
- }
130
- ```
131
- - **Response**:
132
- ```json
133
- {
134
- "message": "Rent collected successfully.",
135
- "payment": { ... }
136
- }
137
- ```
@@ -1,77 +0,0 @@
1
- # Backend API Instructions for Admin Dashboard
2
-
3
- To fully populate the Admin Dashboard in the GuestGuru application, the `GET /api/dashboard/admin` endpoint needs to return the following structure.
4
-
5
- ## Endpoint: `GET /api/dashboard/admin`
6
-
7
- **Current (Stubbed/Expected) Response:**
8
- ```json
9
- {
10
- "totalRooms": 12,
11
- "totalBeds": 45,
12
- "availableBeds": 5,
13
- "activeTenants": 40
14
- }
15
- ```
16
-
17
- **Required Update:**
18
- Please extend the response object to include `financials` and `recentActivity`.
19
-
20
- ### 1. Financials Object
21
- Provides data for the "Financial Overview" card.
22
- - `financials.totalRevenue` (String/Number): Total revenue for the current month (e.g., "20,000").
23
- - `financials.collected` (Number): Amount already collected (e.g., 15000).
24
- - `financials.pending` (Number): Amount still pending (e.g., 5000).
25
- - `financials.trend` (String): Trends string (e.g., "+12%").
26
-
27
- ### 2. Recent Activity Array
28
- Provides a list of recent events for the "Recent Activity" section.
29
- - `recentActivity` (Array of Objects):
30
- - `id` (String/Number): Unique identifier.
31
- - `type` (String): One of `'payment'`, `'assignment'`, or `'maintenance'`.
32
- - Determines the icon and color:
33
- - `payment`: Green icon (money).
34
- - `assignment`: Blue icon (key).
35
- - `maintenance`: Orange icon (tools).
36
- - `title` (String): Title of the activity (e.g., "Rent Received", "New Assignment").
37
- - `time` (String): Relative time string (e.g., "2h ago").
38
- - `description` (String): Brief description (e.g., "John Doe paid $500 for Room 203").
39
-
40
- ### Example Full Response
41
- ```json
42
- {
43
- "totalRooms": 12,
44
- "totalBeds": 45,
45
- "availableBeds": 5,
46
- "activeTenants": 40,
47
- "financials": {
48
- "totalRevenue": "20,000",
49
- "collected": 15000,
50
- "pending": 5000,
51
- "trend": "+12%"
52
- },
53
- "recentActivity": [
54
- {
55
- "id": 1,
56
- "type": "payment",
57
- "title": "Rent Received",
58
- "time": "2h ago",
59
- "description": "John Doe paid $500 for Room 203"
60
- },
61
- {
62
- "id": 2,
63
- "type": "assignment",
64
- "title": "New Assignment",
65
- "time": "5h ago",
66
- "description": "Sarah Smith → Room 104"
67
- },
68
- {
69
- "id": 3,
70
- "type": "maintenance",
71
- "title": "Maintenance",
72
- "time": "1d ago",
73
- "description": "Room 301: AC issue reported"
74
- }
75
- ]
76
- }
77
- ```
@@ -1,175 +0,0 @@
1
- # Advanced Weekly Dining Timetable Module - Integration Guide
2
-
3
- ## Overview
4
- The Dining Module allows PG Owners to configure and display a weekly food menu (Monday to Sunday) for their tenants. It supports three main meals per day (Breakfast, Lunch, Dinner) with customizable timings, menu items, and optional special notes.
5
-
6
- ---
7
-
8
- ## 1. API Reference
9
-
10
- ### Base URL: `/api/dining`
11
-
12
- ### A. Get Weekly Menu
13
- Fetches the full menu for the week. The backend guarantees a response of exactly 7 objects (Monday-Sunday), even if the owner hasn't configured some days yet (they will be returned with default empty values).
14
-
15
- - **Endpoint**: `GET /api/dining`
16
- - **Method**: `GET`
17
- - **Headers**: `Authorization: Bearer <TOKEN>`
18
- - **Access**: Owner, Admin, Tenant
19
- - **Response**: `Array<DailyMenuObject>`
20
-
21
- #### Response Example
22
- ```json
23
- [
24
- {
25
- "day": "Monday",
26
- "breakfast": {
27
- "items": ["Idli", "Sambar", "Chutney"],
28
- "time": "07:30 - 09:30",
29
- "enabled": true
30
- },
31
- "lunch": {
32
- "items": ["Rice", "Dal", "Potato Fry"],
33
- "time": "12:30 - 14:30",
34
- "enabled": true
35
- },
36
- "dinner": {
37
- "items": ["Chapati", "Paneer Butter Masala"],
38
- "time": "19:30 - 21:30",
39
- "enabled": true
40
- },
41
- "specialNote": "No Onion/Garlic"
42
- },
43
- {
44
- "day": "Tuesday",
45
- "breakfast": { "items": [], "time": "08:00 - 10:00", "enabled": true },
46
- ... // Returns default structure if not set
47
- },
48
- ...
49
- ]
50
- ```
51
-
52
- ### B. Update Menu (Bulk)
53
- Allows the Owner to update the menu for one or multiple days at once.
54
-
55
- - **Endpoint**: `POST /api/dining`
56
- - **Method**: `POST`
57
- - **Headers**: `Authorization: Bearer <TOKEN>`
58
- - **Access**: Owner, Admin
59
- - **Payload**: `Array<DailyMenuObject>`
60
-
61
- #### Request Payload Example
62
- ```json
63
- [
64
- {
65
- "day": "Wednesday",
66
- "breakfast": {
67
- "items": ["Puri", "Bhaji"],
68
- "time": "08:00 - 10:00",
69
- "enabled": true
70
- },
71
- "lunch": {
72
- "items": ["Veg Biryani", "Raita"],
73
- "time": "13:00 - 14:30",
74
- "enabled": true
75
- },
76
- "dinner": {
77
- "items": ["Roti", "Dal Tadka"],
78
- "time": "20:00 - 22:00",
79
- "enabled": true
80
- },
81
- "specialNote": "Sweet included"
82
- }
83
- ]
84
- ```
85
- *Note: You only need to send the objects for the days you want to update. The backend uses the `day` field to identify the record.*
86
-
87
- ---
88
-
89
- ## 2. Frontend Implementation Guide (React)
90
-
91
- ### A. Design Approach
92
- We recommend two views:
93
- 1. **Tabbed View (Mobile Friendly)**: Tabs for "Mon", "Tue", "Wed"... displaying that specific day's meals card.
94
- 2. **Weekly Grid View (Desktop)**: A 7-column grid showing the entire week at a glance.
95
-
96
- ### B. Data State
97
- Store the menu in a Redux slice or local state.
98
- ```javascript
99
- const [weeklyMenu, setWeeklyMenu] = useState([]); // Array of 7 objects
100
- const [activeDay, setActiveDay] = useState('Monday'); // For tab view
101
- ```
102
-
103
- ### C. Component Structure
104
-
105
- #### `DiningDashboard.jsx` (Main Container)
106
- - Fetches data on mount (`useEffect`).
107
- - Renders `DayTabs` or `WeekGrid` based on screen size.
108
- - Contains an "Edit Menu" button (Visible only to Owners).
109
-
110
- #### `MealCard.jsx` (Dumb Component)
111
- Displays a single meal section.
112
- ```jsx
113
- const MealCard = ({ title, data }) => (
114
- <div className={`meal-card ${!data.enabled ? 'opacity-50' : ''}`}>
115
- <div className="flex justify-between">
116
- <h3 className="font-bold">{title}</h3>
117
- <span className="text-sm text-gray-500">{data.time}</span>
118
- </div>
119
- <ul className="mt-2 list-disc pl-4">
120
- {data.items.length > 0 ? (
121
- data.items.map((item, idx) => <li key={idx}>{item}</li>)
122
- ) : (
123
- <li className="text-gray-400 italic">Not set</li>
124
- )}
125
- </ul>
126
- </div>
127
- );
128
- ```
129
-
130
- #### `EditMenuModal.jsx` (Form)
131
- - **Fields needed per meal (Breakfast/Lunch/Dinner)**:
132
- - **Items**: Tag Input (User types "Idli" + Enter -> adds to array).
133
- - **Time**: Text Input (e.g., "08:00 - 09:00").
134
- - **Enabled**: Toggle Switch (If off, grey out the section).
135
- - **Special Note**: Text Area.
136
- - **Structure**: Allow editing one day at a time to avoid a massive form.
137
-
138
- ### D. Redux Slice (`diningSlice.js`)
139
- ```javascript
140
- import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';
141
- import axios from 'axios';
142
-
143
- // Thunk to fetch
144
- export const fetchWeeklyMenu = createAsyncThunk('dining/fetch', async () => {
145
- const response = await axios.get('/api/dining');
146
- return response.data;
147
- });
148
-
149
- // Thunk to update
150
- export const updateDailyMenu = createAsyncThunk('dining/update', async (payload) => {
151
- // Payload should be an array: [{ day: 'Monday', ... }]
152
- const response = await axios.post('/api/dining', payload);
153
- return response.data;
154
- });
155
-
156
- const diningSlice = createSlice({
157
- name: 'dining',
158
- initialState: { menu: [], loading: false },
159
- extraReducers: (builder) => {
160
- builder.addCase(fetchWeeklyMenu.fulfilled, (state, action) => {
161
- state.menu = action.payload;
162
- });
163
- // Handle loading/error states...
164
- }
165
- });
166
-
167
- export default diningSlice.reducer;
168
- ```
169
-
170
- ---
171
-
172
- ## 3. Best Practices
173
- 1. **Tag Input**: For entering food items (`["Idli", "Vada"]`), use a library like `react-tag-input` or simply listen for the `Enter` key in a text input to push to an array.
174
- 2. **Validation**: Ensure time strings are reasonably formatted, though strict validation isn't enforced by backend.
175
- 3. **Empty States**: The backend ensures a full week is returned, but visually handle `items: []` gracefully (e.g., show "No items listed").
@@ -1,151 +0,0 @@
1
- # Frontend Finance Module Design & Implementation Guide
2
-
3
- ## Overview
4
- The Finance Module enables PG Owners to track their **Income** (from Rent Payments) and **Expenses** (Maintenance, Bills, etc.) to visualize **Profit & Loss** (P&L) on a monthly and yearly basis.
5
-
6
- ## 1. API Integration
7
-
8
- ### Base URL: `/api/finance`
9
-
10
- #### A. Add Expense
11
- - **Endpoint**: `POST /expenses`
12
- - **Payload**:
13
- ```json
14
- {
15
- "title": "Plumbing Repair",
16
- "amount": 1500,
17
- "category": "maintenance", // Options: maintenance, utility_bills, salary, groceries, marketing, other
18
- "description": "Fixed leaking pipe in Room 101",
19
- "date": "2024-12-18"
20
- }
21
- ```
22
-
23
- #### B. Get Expenses List
24
- - **Endpoint**: `GET /expenses`
25
- - **Query Params**:
26
- - `month`: 1-12 (Optional)
27
- - `year`: 2024 (Optional)
28
- - `search`: "plumbing" (Optional)
29
-
30
- #### C. Get Financial Report (P&L)
31
- - **Endpoint**: `GET /report`
32
- - **Query Params**:
33
- - `year`: YYYY (Required) - e.g., `2024`
34
- - `month`: 1-12 (Optional) - If omitted, returns yearly breakdown.
35
- - **Response (Monthly)**:
36
- ```json
37
- {
38
- "period": "12/2024",
39
- "stats": {
40
- "income": 50000,
41
- "expense": 12000,
42
- "profit": 38000
43
- },
44
- "expenseBreakdown": [
45
- { "category": "maintenance", "total": 2000 },
46
- { "category": "utility_bills", "total": 10000 }
47
- ]
48
- }
49
- ```
50
- - **Response (Yearly)**:
51
- ```json
52
- {
53
- "period": "Year 2024",
54
- "overall": { "income": 600000, "expense": 120000, "profit": 480000 },
55
- "monthlyBreakdown": [
56
- { "month": 1, "monthName": "Jan", "income": 50000, "expense": 10000, "profit": 40000 },
57
- ...
58
- ]
59
- }
60
- ```
61
-
62
- ---
63
-
64
- ## 2. UI Components & Design
65
-
66
- ### A. Dashboard Cards (Summary)
67
- Place these at the top of the **Finance/Reports** page.
68
- - **Total Income**: Green Trend Icon + Value.
69
- - **Total Expenses**: Red Trend Icon + Value.
70
- - **Net Profit**: Blue/Purple Chart Icon + Value (highlighted).
71
-
72
- ### B. Charts (Visual Analytics)
73
- Use a library like `recharts` or `chart.js`.
74
- 1. **Profit vs Loss (Yearly View)**:
75
- - **Type**: Bar Chart (Sidebar or Stacked).
76
- - **X-Axis**: Months (Jan, Feb...).
77
- - **Bars**: Income (Green), Expense (Red).
78
- 2. **Expense Breakdown (Monthly View)**:
79
- - **Type**: Doughnut/Pie Chart.
80
- - **Data**: Categories (Maintenance, Bills, etc.).
81
-
82
- ### C. Expense Management Table
83
- A searchable, paginated table to view history.
84
- - **Columns**: Date, Title, Category (Badge), Amount, Actions (Delete).
85
- - **Header Action**: "Add Expense" Button -> Opens Modal.
86
-
87
- ### D. Add Expense Modal
88
- - **Fields**:
89
- - **Title**: Text Input.
90
- - **Amount**: Number Input.
91
- - **Category**: Dropdown (Maintenance, Bills, Salary, Groceries, Marketing, Other).
92
- - **Date**: Date Picker (Default to Today).
93
- - **Description**: Text Area.
94
-
95
- ---
96
-
97
- ## 3. Implementation Steps (React/Redux)
98
-
99
- ### Step 1: Update Redux Slice (`financeSlice.js`)
100
- Create a new slice to handle state.
101
- ```javascript
102
- const financeSlice = createSlice({
103
- name: 'finance',
104
- initialState: {
105
- expenses: [],
106
- report: null, // Stores P&L data
107
- loading: false,
108
- },
109
- reducers: {},
110
- extraReducers: (builder) => {
111
- // Handle fetchExpenses, addExpense, fetchReport thunks
112
- }
113
- });
114
- ```
115
-
116
- ### Step 2: Create Components
117
- 1. `FinanceDashboard.jsx`: Main container. Select Year/Month controls.
118
- 2. `ExpenseForm.jsx`: Modal form.
119
- 3. `PLLogic.js`: Utility to format data for charts.
120
-
121
- ### Step 3: Aesthetic Guidelines
122
- - **Colors**:
123
- - Income: `#10B981` (Emerald-500)
124
- - Expense: `#EF4444` (Red-500)
125
- - Profit: `#6366F1` (Indigo-500)
126
- - **Cards**: Glassmorphism effect or clean white cards with soft shadows (`shadow-lg`).
127
- - **Typography**: Use `Inter` or `Outfit` fonts. Money values should be bold (`font-bold`).
128
-
129
- ---
130
-
131
- ## 4. Example Page Layout
132
- ```
133
- +-------------------------------------------------------+
134
- | [Dashboard] [Rooms] [Tenants] [Finance (Active)] |
135
- +-------------------------------------------------------+
136
- | Year: [ 2024 v ] Month: [ December v ] |
137
- +-------------------------------------------------------+
138
- | [ Total Income ] [ Total Expenses ] [ Net Profit ] |
139
- | [ $50,000 ] [ $12,000 ] [ $38,000 ] |
140
- +-------------------------------------------------------+
141
- | |
142
- | [ Big Bar Chart: Income vs Expense ] |
143
- | [ (Jan - Dec 2024 or Daily) ] |
144
- | |
145
- +-------------------------------------------------------+
146
- | Recent Expenses [+ Add Expense Button] |
147
- | --------------------------------------------------- |
148
- | Date | Title | Category | Amount |
149
- | 2024-12-18 | Pipe Repair | Maintenance | $1500 |
150
- +-------------------------------------------------------+
151
- ```
@@ -1,93 +0,0 @@
1
- # guestguru-api
2
-
3
-
4
-
5
- ## Getting started
6
-
7
- To make it easy for you to get started with GitLab, here's a list of recommended next steps.
8
-
9
- Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10
-
11
- ## Add your files
12
-
13
- * [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14
- * [Add files using the command line](https://docs.gitlab.com/topics/git/add_files/#add-files-to-a-git-repository) or push an existing Git repository with the following command:
15
-
16
- ```
17
- cd existing_repo
18
- git remote add origin https://gitlab.com/mulaorg/guestguru-api.git
19
- git branch -M main
20
- git push -uf origin main
21
- ```
22
-
23
- ## Integrate with your tools
24
-
25
- * [Set up project integrations](https://gitlab.com/mulaorg/guestguru-api/-/settings/integrations)
26
-
27
- ## Collaborate with your team
28
-
29
- * [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
30
- * [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
31
- * [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
32
- * [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
33
- * [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)
34
-
35
- ## Test and Deploy
36
-
37
- Use the built-in continuous integration in GitLab.
38
-
39
- * [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)
40
- * [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
41
- * [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
42
- * [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
43
- * [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
44
-
45
- ***
46
-
47
- # Editing this README
48
-
49
- When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
50
-
51
- ## Suggestions for a good README
52
-
53
- Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
54
-
55
- ## Name
56
- Choose a self-explaining name for your project.
57
-
58
- ## Description
59
- Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
60
-
61
- ## Badges
62
- On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
63
-
64
- ## Visuals
65
- Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
66
-
67
- ## Installation
68
- Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
69
-
70
- ## Usage
71
- Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
72
-
73
- ## Support
74
- Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
75
-
76
- ## Roadmap
77
- If you have ideas for releases in the future, it is a good idea to list them in the README.
78
-
79
- ## Contributing
80
- State if you are open to contributions and what your requirements are for accepting them.
81
-
82
- For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
83
-
84
- You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
85
-
86
- ## Authors and acknowledgment
87
- Show your appreciation to those who have contributed to the project.
88
-
89
- ## License
90
- For open source projects, say how it is licensed.
91
-
92
- ## Project status
93
- If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
@@ -1,12 +0,0 @@
1
- {
2
- "expo": {
3
- "extra": {
4
- "eas": {
5
- "projectId": "c1b971a2-c617-43d7-9bdf-875f6d31e0b7"
6
- }
7
- },
8
- "android": {
9
- "package": "com.kysergroup.pgbackend"
10
- }
11
- }
12
- }
Binary file
@@ -1,21 +0,0 @@
1
- {
2
- "cli": {
3
- "version": ">= 16.28.0",
4
- "appVersionSource": "remote"
5
- },
6
- "build": {
7
- "development": {
8
- "developmentClient": true,
9
- "distribution": "internal"
10
- },
11
- "preview": {
12
- "distribution": "internal"
13
- },
14
- "production": {
15
- "autoIncrement": true
16
- }
17
- },
18
- "submit": {
19
- "production": {}
20
- }
21
- }
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- apps: [
3
- {
4
- name: 'guestguru-api',
5
- script: 'server.js',
6
- instances: 1,
7
- exec_mode: 'fork',
8
- autorestart: true,
9
- watch: false,
10
- max_memory_restart: '1G',
11
- env: {
12
- NODE_ENV: 'development',
13
- },
14
- env_production: {
15
- NODE_ENV: 'production',
16
- },
17
- },
18
- ],
19
- };