Thank you for your interest in contributing to our project! To ensure that our project remains sustainable and that contributions can be integrated smoothly, we require all contributors to agree to the following Contributor License Agreement ("Agreement"). This Agreement helps us maintain the quality and integrity of the project while respecting your rights as a contributor.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import fs from 'fs'; | |
import path from 'path'; | |
/** | |
* Represents the file system path to the 'shared' directory. | |
* The path is constructed by resolving the current working directory and appending 'shared' to it. | |
* It can be used to reference or access files and sub-directories located within the 'shared' directory. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs'; | |
import path from 'path'; | |
// Configuration | |
const IGNORE_LIST = ['.git', 'node_modules', 'log']; // Add more if needed | |
const OUTPUT_FILE = 'structure.md'; | |
/** | |
* Recursively generates a tree structure of the directory. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import errorResponse from '../utilities/errorResponse.js'; | |
import httpStatus from '../constant/httpStatus.constants.js'; | |
import sendResponse from '../utilities/sendResponse.js'; | |
import loggerService from '../service/logger.service.js'; | |
import toSentenceCase from '../utilities/toSentenceCase.js'; | |
const getResourceById = async (model, populateMethod, resourceId, resourceType) => { | |
try { | |
const resource = await populateMethod(model.findById(resourceId)); | |
if (!resource) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncErrorHandlerService from '../utilities/asyncErrorHandler.js'; | |
import getRequesterId from '../utilities/getRequesterId.js'; | |
import loggerService from '../service/logger.service.js'; | |
import getHostData from '../utilities/getHostData.js'; | |
import getRequestedDeviceDetails from '../utilities/getRequestedDeviceDetails.js'; | |
// TODO: Implement the `entity` log | |
// TODO: utilize the hostData for every entity | |
const createNewUserEntity = (service, createFunction) => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NodeCache from 'node-cache'; | |
import loggerService from '../service/logger.service.js'; | |
const cache = new NodeCache(); | |
const create = (duration = 3600) => { | |
return (req, res, next) => { | |
let key; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
123456 | |
password | |
12345678 | |
qwerty | |
123456789 | |
12345 | |
1234 | |
111111 | |
1234567 | |
dragon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0-mail.com | |
027168.com | |
0815.ru | |
0815.ry | |
0815.su | |
0845.ru | |
0box.eu | |
0clickemail.com | |
0n0ff.net | |
0nelce.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################### | |
# Prettier Ignore Configuration File | |
#################################################### | |
# This file specifies patterns of files and directories that Prettier should ignore. | |
# Using this file helps avoid formatting conflicts and unnecessary processing of files not meant for modification. | |
#################################################### | |
# IDE and Project Files | |
# Purpose: Prevent Prettier from formatting project and IDE configuration files. | |
# Use: Ensures that configurations and settings files are not altered unintentionally. |