163 | {comment.desc} 164 |
165 |├── .gitignore ├── API ├── connect.js ├── controllers │ ├── auth.js │ ├── comment.js │ ├── like.js │ ├── post.js │ ├── relationship.js │ ├── story.js │ └── user.js ├── index.js ├── package-lock.json ├── package.json └── routes │ ├── auth.js │ ├── comments.js │ ├── likes.js │ ├── posts.js │ ├── relationships.js │ ├── stories.js │ └── users.js ├── LICENSE ├── README.md ├── ShowCase ├── Edit_Profile.PNG ├── Light.PNG ├── Likes_Comments.PNG ├── Login.PNG ├── Profile.PNG ├── dark.PNG ├── manage_post.PNG └── register.PNG ├── frontend ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ ├── default │ │ └── default_profile.png │ ├── uploads │ │ └── posts │ │ │ ├── 170888903323968747470733a2f2f6d796465766966792e636f6d2f6173736574732f696e6465782e34393461633536382e706e67.png │ │ │ ├── 1708889386896photo-1534528741775-53994a69daeb.jpg │ │ │ ├── 1708889393853photo-1534528741775-53994a69daeb.jpg │ │ │ ├── 1708889450326photo-1534528741775-53994a69daeb.jpg │ │ │ └── 1708889456596photo-1534528741775-53994a69daeb.jpg │ └── vite.svg ├── src │ ├── App.css │ ├── App.jsx │ ├── assets │ │ ├── icons │ │ │ ├── 1.png │ │ │ ├── 10.png │ │ │ ├── 11.png │ │ │ ├── 12.png │ │ │ ├── 13.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ ├── 9.png │ │ │ ├── friend.png │ │ │ ├── img.png │ │ │ └── map.png │ │ └── react.svg │ ├── axios.jsx │ ├── components │ │ ├── Leftbar.jsx │ │ ├── Navbar.jsx │ │ ├── Post.jsx │ │ ├── Posts.jsx │ │ ├── Rightbar.jsx │ │ ├── Share.jsx │ │ ├── Stories.jsx │ │ ├── addStory.jsx │ │ ├── comments2.jsx │ │ └── update.jsx │ ├── context │ │ └── AuthContext.jsx │ ├── index.css │ ├── main.jsx │ └── pages │ │ ├── Login.jsx │ │ ├── home.jsx │ │ ├── profile.jsx │ │ └── register.jsx ├── tailwind.config.js └── vite.config.js └── mydevify_social.sql /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Ignore node_modules directory in the root 3 | node_modules/ 4 | 5 | # Ignore node_modules directory in the frontend directory 6 | frontend/node_modules/ 7 | 8 | # Ignore node_modules directory in the API directory 9 | API/node_modules/ -------------------------------------------------------------------------------- /API/connect.js: -------------------------------------------------------------------------------- 1 | import mysql from "mysql"; 2 | 3 | export const db = mysql.createConnection({ 4 | host:"localhost", 5 | user: "root", 6 | password:"", 7 | database:"mydevify_social" 8 | }) -------------------------------------------------------------------------------- /API/controllers/auth.js: -------------------------------------------------------------------------------- 1 | import { db } from "../connect.js"; 2 | import bcrypt from "bcryptjs"; 3 | import jwt from "jsonwebtoken"; 4 | 5 | export const register = (req, res) => { 6 | //CHECK USER IF EXISTS 7 | 8 | const q = "SELECT * FROM users WHERE username = ?"; 9 | console.log(req.body.password) 10 | db.query(q, [req.body.username], (err, data) => { 11 | if (err) return res.status(500).json(err); 12 | if (data.length) return res.status(409).json("User already exists!"); 13 | 14 | const salt = bcrypt.genSaltSync(10); 15 | const hashedPassword = bcrypt.hashSync(req.body.password, salt); 16 | 17 | const q = 18 | "INSERT INTO users (`username`,`email`,`password`,`name`) VALUE (?)"; 19 | 20 | const values = [ 21 | req.body.username, 22 | req.body.email, 23 | hashedPassword, 24 | req.body.name, 25 | ]; 26 | 27 | db.query(q, [values], (err, data) => { 28 | if (err) return res.status(500).json(err); 29 | return res.status(200).json("User has been created."); 30 | }); 31 | }); 32 | }; 33 | 34 | 35 | // export const register = (req, res) => { 36 | 37 | // const checkUserQuery = "SELECT * FROM users WHERE username = ?"; 38 | // db.query(checkUserQuery, [req.body.username], (err, data) => { 39 | // if (err) return res.status(500).json(err); 40 | // if (data.length) return res.status(409).json("User already exists!"); 41 | 42 | 43 | // const salt = bcrypt.genSaltSync(10); 44 | // const hashedPassword = bcrypt.hashSync(req.body.password, salt); 45 | 46 | // const insertUserQuery = ` 47 | // INSERT INTO users (username, email, password, name) 48 | // VALUES (?, ?, ?, ?) 49 | // `; 50 | // const values = [ 51 | // req.body.username, 52 | // req.body.email, 53 | // hashedPassword, 54 | // req.body.name, 55 | // ]; 56 | 57 | // db.query(insertUserQuery, [values], (err, data) => { 58 | // if (err) return res.status(500).json(err); 59 | // return res.status(200).json("User has been created."); 60 | // }); 61 | // }); 62 | // }; 63 | 64 | 65 | 66 | export const login = (req, res) => { 67 | const q = "SELECT * FROM users WHERE username = ?"; 68 | 69 | db.query(q, [req.body.username], (err, data) => { 70 | if (err) return res.status(500).json(err); 71 | if (data.length === 0) return res.status(404).json("User not found!"); 72 | 73 | const checkPassword = bcrypt.compareSync( 74 | req.body.password, 75 | data[0].password 76 | ); 77 | 78 | if (!checkPassword) 79 | return res.status(400).json("Wrong password or username!"); 80 | 81 | const token = jwt.sign({ id: data[0].id }, "secretkey"); 82 | 83 | const { password, ...others } = data[0]; 84 | 85 | res 86 | .cookie("accessToken", token, { 87 | httpOnly: true, 88 | }) 89 | .status(200) 90 | .json(others); 91 | }); 92 | }; 93 | 94 | export const logout = (req, res) => { 95 | //console.log("working") 96 | res.clearCookie("accessToken",{ 97 | secure:true, 98 | sameSite:"none" 99 | }).status(200).json("User has been logged out.") 100 | }; 101 | -------------------------------------------------------------------------------- /API/controllers/comment.js: -------------------------------------------------------------------------------- 1 | import { db } from "../connect.js"; 2 | import jwt from "jsonwebtoken"; 3 | import moment from "moment"; 4 | 5 | export const getComments =(req,res) =>{ 6 | 7 | const q = `SELECT c.*,username, u.id AS userId, name, profilePic FROM comments AS c JOIN users AS u ON (u.id = c.userId) 8 | WHERE c.postId = ? ORDER BY c.createdAt DESC`; 9 | 10 | 11 | db.query(q, [req.query.postId], (err, data) => { 12 | if (err) return res.status(500).json(err); 13 | return res.status(200).json(data); 14 | }); 15 | 16 | //console.log(req.query.postId) 17 | 18 | }; 19 | 20 | 21 | 22 | export const addComment = (req, res) => { 23 | const token = req.cookies.accessToken; 24 | if (!token) return res.status(401).json("Not logged in!"); 25 | 26 | jwt.verify(token, "secretkey", (err, userInfo) => { 27 | if (err) return res.status(403).json("Token is not valid!"); 28 | 29 | const q = 30 | "INSERT INTO comments(`desc`, `createdAt`, `userId`,`postId`) VALUES (?)"; 31 | const values = [ 32 | req.body.desc, 33 | moment(Date.now()).format("YYYY-MM-DD HH:mm:ss"), 34 | userInfo.id, 35 | req.body.postId 36 | ]; 37 | 38 | db.query(q, [values], (err, data) => { 39 | if (err) return res.status(500).json(err); 40 | return res.status(200).json("Comments has been Added."); 41 | }); 42 | }); 43 | }; -------------------------------------------------------------------------------- /API/controllers/like.js: -------------------------------------------------------------------------------- 1 | import { db } from "../connect.js"; 2 | import jwt from "jsonwebtoken"; 3 | 4 | 5 | export const getLikes = (req,res) =>{ 6 | 7 | const q = `SELECT userId from Likes WHERE postId = ?`; 8 | 9 | 10 | db.query(q, [req.query.postId], (err, data) => { 11 | if (err) return res.status(500).json(err); 12 | // console.log(data.map(like=>like.userId)); 13 | return res.status(200).json(data.map(like=>like.userId)); 14 | //return res.status(200).json(data); 15 | }); 16 | 17 | 18 | } 19 | 20 | 21 | 22 | export const addLike = (req, res) => { 23 | const token = req.cookies.accessToken; 24 | if (!token) return res.status(401).json("Not logged in!"); 25 | 26 | jwt.verify(token, "secretkey", (err, userInfo) => { 27 | if (err) return res.status(403).json("Token is not valid!"); 28 | 29 | const q = 30 | "INSERT INTO likes (`userId`,`postId`) VALUES (?)"; 31 | const values = [ 32 | userInfo.id, 33 | req.body.postId 34 | ]; 35 | 36 | 37 | const fullQuery = q + " with parameters: " + JSON.stringify(values); 38 | console.log("Full Query:", fullQuery); 39 | 40 | 41 | db.query(q, [values], (err, data) => { 42 | if (err) return res.status(500).json(err); 43 | return res.status(200).json("Post has been Liked."); 44 | }); 45 | }); 46 | }; 47 | 48 | 49 | export const deleteLike = (req, res) => { 50 | const token = req.cookies.accessToken; 51 | if (!token) return res.status(401).json("Not logged in!"); 52 | 53 | jwt.verify(token, "secretkey", (err, userInfo) => { 54 | if (err) return res.status(403).json("Token is not valid!"); 55 | 56 | const q = 57 | "DELETE FROM likes WHERE `userId` = ? AND `postId` = ?"; 58 | 59 | 60 | const fullQuery = q + " with parameters: " + JSON.stringify([userInfo.id, req.query.postId]); 61 | console.log("Full Query:", fullQuery); 62 | 63 | db.query(q, [userInfo.id, req.query.postId], (err, data) => { 64 | if (err) return res.status(500).json(err); 65 | return res.status(200).json("Like has been Deleted."); 66 | }); 67 | }); 68 | }; -------------------------------------------------------------------------------- /API/controllers/post.js: -------------------------------------------------------------------------------- 1 | import moment from "moment/moment.js"; 2 | import { db } from "../connect.js"; 3 | import jwt from "jsonwebtoken"; 4 | 5 | 6 | export const getPosts = (req, res) => { 7 | const userId = req.query.userId; 8 | // console.log('UserId from query parameters:', req.query.userId); 9 | // console.log('Request :', req.query); 10 | //const userId = '3'; 11 | const token = req.cookies.accessToken; 12 | if (!token) return res.status(401).json("Not logged in!"); 13 | 14 | 15 | jwt.verify(token, "secretkey", (err, userInfo) => { 16 | if (err) return res.status(403).json("Token is not valid!"); 17 | 18 | 19 | // const q = `SELECT p.*,username, u.id AS userId, name, profilePic FROM posts AS p JOIN users AS u ON (u.id = p.userId) 20 | // LEFT JOIN relationships AS r ON (p.userId = r.followedUserId) WHERE r.followerUserId= ? OR p.userId =? 21 | // ORDER BY p.createdAt DESC`; 22 | 23 | // // const values = 24 | // // userId !== "undefined" ? [userId] : [userInfo.id, userInfo.id]; 25 | 26 | // db.query(q, [userInfo.id, userInfo.id], (err, data) => { 27 | // if (err) return res.status(500).json(err); 28 | // return res.status(200).json(data); 29 | // }); 30 | 31 | 32 | 33 | const q = typeof userId !== "undefined" 34 | ? `SELECT p.*,username ,u.id AS userId, name, profilePic FROM posts AS p JOIN users AS u ON (u.id = p.userId) WHERE p.userId = ? ORDER BY p.createdAt DESC` 35 | : `SELECT p.*, u.id AS userId, name, profilePic FROM posts AS p JOIN users AS u ON (u.id = p.userId) 36 | LEFT JOIN relationships AS r ON (p.userId = r.followedUserId) WHERE r.followerUserId= ? OR p.userId =? 37 | ORDER BY p.createdAt DESC`; 38 | 39 | 40 | 41 | 42 | const values = 43 | userId !== "undefined" ? [userId] : [userInfo.id, userInfo.id]; 44 | 45 | db.query(q, values, (err, data) => { 46 | if (err) return res.status(500).json(err); 47 | return res.status(200).json(data); 48 | }); 49 | 50 | 51 | 52 | }); 53 | }; 54 | 55 | 56 | export const addPost = (req, res) => { 57 | const token = req.cookies.accessToken; 58 | if (!token) return res.status(401).json("Not logged in!"); 59 | 60 | jwt.verify(token, "secretkey", (err, userInfo) => { 61 | if (err) return res.status(403).json("Token is not valid!"); 62 | 63 | const q = 64 | "INSERT INTO posts(`desc`, `img`, `createdAt`, `userId`) VALUES (?)"; 65 | const values = [ 66 | req.body.desc, 67 | req.body.img, 68 | moment(Date.now()).format("YYYY-MM-DD HH:mm:ss"), 69 | userInfo.id, 70 | ]; 71 | 72 | db.query(q, [values], (err, data) => { 73 | if (err) return res.status(500).json(err); 74 | return res.status(200).json("Post has been created."); 75 | }); 76 | }); 77 | 78 | 79 | }; 80 | 81 | 82 | export const deletePost = (req, res) => { 83 | const token = req.cookies.accessToken; 84 | if (!token) return res.status(401).json("Not logged in!"); 85 | 86 | jwt.verify(token, "secretkey", (err, userInfo) => { 87 | if (err) return res.status(403).json("Token is not valid!"); 88 | 89 | const q = 90 | "DELETE FROM posts WHERE `id`=? AND `userId` = ?"; 91 | 92 | db.query(q, [req.params.id, userInfo.id], (err, data) => { 93 | if (err) return res.status(500).json(err); 94 | if(data.affectedRows>0) return res.status(200).json("Post has been deleted."); 95 | return res.status(403).json("You can delete only your post") 96 | }); 97 | }); 98 | }; -------------------------------------------------------------------------------- /API/controllers/relationship.js: -------------------------------------------------------------------------------- 1 | import { db } from "../connect.js"; 2 | import jwt from "jsonwebtoken"; 3 | 4 | export const getRelationships = (req,res)=>{ 5 | const q = "SELECT followerUserId FROM relationships WHERE followedUserId = ?"; 6 | 7 | db.query(q, [req.query.followedUserId], (err, data) => { 8 | if (err) return res.status(500).json(err); 9 | return res.status(200).json(data.map(relationship=>relationship.followerUserId)); 10 | }); 11 | } 12 | 13 | export const addRelationship = (req, res) => { 14 | const token = req.cookies.accessToken; 15 | if (!token) return res.status(401).json("Not logged in!"); 16 | 17 | jwt.verify(token, "secretkey", (err, userInfo) => { 18 | if (err) return res.status(403).json("Token is not valid!"); 19 | 20 | const q = "INSERT INTO relationships (`followerUserId`,`followedUserId`) VALUES (?)"; 21 | const values = [ 22 | userInfo.id, 23 | req.body.userId 24 | ]; 25 | 26 | db.query(q, [values], (err, data) => { 27 | if (err) return res.status(500).json(err); 28 | return res.status(200).json("Following"); 29 | }); 30 | }); 31 | }; 32 | 33 | 34 | export const deleteRelationship = (req, res) => { 35 | 36 | const token = req.cookies.accessToken; 37 | if (!token) return res.status(401).json("Not logged in!"); 38 | 39 | jwt.verify(token, "secretkey", (err, userInfo) => { 40 | if (err) return res.status(403).json("Token is not valid!"); 41 | 42 | const q = "DELETE FROM relationships WHERE `followerUserId` = ? AND `followedUserId` = ?"; 43 | 44 | db.query(q, [userInfo.id, req.query.userId], (err, data) => { 45 | if (err) return res.status(500).json(err); 46 | return res.status(200).json("Unfollow"); 47 | }); 48 | }); 49 | }; -------------------------------------------------------------------------------- /API/controllers/story.js: -------------------------------------------------------------------------------- 1 | import moment from "moment/moment.js"; 2 | import { db } from "../connect.js"; 3 | import jwt from "jsonwebtoken"; 4 | 5 | export const getStories = (req, res) => { 6 | const token = req.cookies.accessToken; 7 | if (!token) return res.status(401).json("Not logged in!"); 8 | 9 | jwt.verify(token, "secretkey", (err, userInfo) => { 10 | if (err) return res.status(403).json("Token is not valid!"); 11 | 12 | console.log("working") 13 | const q = `SELECT s.*, u.username FROM stories AS s, users AS u WHERE u.id = s.userId;`; 14 | 15 | db.query(q, (err, data) => { 16 | if (err) return res.status(500).json(err); 17 | return res.status(200).json(data); 18 | }); 19 | }); 20 | }; 21 | 22 | 23 | 24 | export const addStory = (req, res) => { 25 | const token = req.cookies.accessToken; 26 | if (!token) return res.status(401).json("Not logged in!"); 27 | 28 | jwt.verify(token, "secretkey", (err, userInfo) => { 29 | if (err) return res.status(403).json("Token is not valid!"); 30 | 31 | const q = 32 | "INSERT INTO stories(`img`, `userId`,`createdAt`) VALUES (?)"; 33 | const values = [ 34 | req.body.img, 35 | userInfo.id, 36 | moment(Date.now()).format("YYYY-MM-DD HH:mm:ss"), 37 | ]; 38 | 39 | db.query(q, [values], (err, data) => { 40 | if (err) return res.status(500).json(err); 41 | return res.status(200).json("story has been created."); 42 | }); 43 | }); 44 | }; 45 | 46 | 47 | 48 | export const deleteStory = (req, res) => { 49 | const token = req.cookies.accessToken; 50 | if (!token) return res.status(401).json("Not logged in!"); 51 | 52 | jwt.verify(token, "secretkey", (err, userInfo) => { 53 | if (err) return res.status(403).json("Token is not valid!"); 54 | 55 | const q = 56 | "DELETE FROM stories WHERE `id`=? AND `userId` = ?"; 57 | 58 | db.query(q, [req.params.id, userInfo.id], (err, data) => { 59 | if (err) return res.status(500).json(err); 60 | if(data.affectedRows>0) return res.status(200).json("Story has been deleted."); 61 | return res.status(403).json("You can delete only your post") 62 | }); 63 | }); 64 | }; 65 | -------------------------------------------------------------------------------- /API/controllers/user.js: -------------------------------------------------------------------------------- 1 | import { db } from "../connect.js"; 2 | import jwt from "jsonwebtoken"; 3 | 4 | export const getUser = (req, res) => { 5 | const userId = req.params.userId; 6 | 7 | const q = "SELECT * FROM users WHERE id=?"; 8 | 9 | db.query(q, [userId], (err, data) => { 10 | if (err) return res.status(500).json(err); 11 | if (data.length === 0) { 12 | return res.status(404).json({ message: "User not found" }); // in case tneket show this 13 | } 14 | const { password, ...info } = data[0]; 15 | return res.json(info); 16 | }); 17 | }; 18 | 19 | 20 | export const updateUser = (req, res) => { 21 | const token = req.cookies.accessToken; 22 | if (!token) return res.status(401).json("Not authenticated!"); 23 | 24 | jwt.verify(token, "secretkey", (err, userInfo) => { 25 | if (err) return res.status(403).json("Token is not valid!"); 26 | 27 | const q = 28 | "UPDATE users SET `name`=?,`bio`=?,`website`=?,`profilePic`=?,`coverPic`=? WHERE id=? "; 29 | 30 | db.query( 31 | q, 32 | [ 33 | 34 | // username:"", 35 | // name:"", 36 | // email:"", 37 | // bio:"", 38 | // instagram:"", 39 | // website:"", 40 | 41 | req.body.name, 42 | req.body.bio, 43 | req.body.website, 44 | req.body.coverPic, 45 | req.body.profilePic, 46 | userInfo.id, 47 | ], 48 | (err, data) => { 49 | if (err) res.status(500).json(err); 50 | if (data.affectedRows > 0) return res.json("Updated!"); 51 | return res.status(403).json("You can update only your post!"); 52 | } 53 | ); 54 | }); 55 | }; 56 | 57 | -------------------------------------------------------------------------------- /API/index.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import cors from 'cors'; 3 | import cookieParser from "cookie-parser"; 4 | import authRoutes from "./routes/auth.js"; 5 | import commentRoutes from "./routes/comments.js"; 6 | import likeRoutes from "./routes/likes.js"; 7 | import postRoutes from "./routes/posts.js"; 8 | import usersRoutes from "./routes/users.js"; 9 | import relationshipRoutes from "./routes/relationships.js"; 10 | import storiesRoutes from "./routes/stories.js"; 11 | import multer from "multer"; 12 | const app = express(); 13 | 14 | // Middleware order matters, so place CORS before other middleware and route declarations (that shit is by chatgbt) 15 | 16 | app.use((req, res, next) => { 17 | res.header("Access-Control-Allow-Credentials", true); 18 | next(); 19 | }); 20 | 21 | app.use(cors({ 22 | origin: "http://localhost:5173", 23 | })); 24 | 25 | app.use(express.json()); 26 | app.use(cookieParser()); 27 | 28 | 29 | 30 | const storage = multer.diskStorage({ 31 | destination: function (req, file, cb) { 32 | cb(null, '../frontend/public/uploads/posts') 33 | }, 34 | filename: function (req, file, cb) { 35 | //const uniqueSuffix = Date.now() + '-' + Math.round(Math.random() * 1E9) that shit saves images without extention 36 | cb(null, Date.now() + file.originalname); 37 | } 38 | }) 39 | 40 | const upload = multer({ storage: storage }) 41 | 42 | 43 | app.post("/api/upload",upload.single("file"), (req,res)=>{ 44 | const file = req.file; 45 | res.status(200).json(file.filename) 46 | }); 47 | 48 | app.use("/api/auth", authRoutes); 49 | app.use("/api/comments", commentRoutes); 50 | app.use("/api/likes", likeRoutes); 51 | app.use("/api/posts", postRoutes); 52 | app.use("/api/users", usersRoutes); 53 | app.use("/api/relationships", relationshipRoutes); 54 | app.use("/api/stories", storiesRoutes); 55 | 56 | 57 | app.listen(8800, () => { 58 | console.log("MyDevify Social is working ..."); 59 | }); 60 | -------------------------------------------------------------------------------- /API/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "api", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "api", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "dependencies": { 12 | "bcryptjs": "^2.4.3", 13 | "cookie-parser": "^1.4.6", 14 | "cors": "^2.8.5", 15 | "express": "^4.18.2", 16 | "jsonwebtoken": "^9.0.2", 17 | "moment": "^2.30.1", 18 | "multer": "^1.4.5-lts.1", 19 | "mysql": "^2.18.1", 20 | "nodemon": "^3.0.3" 21 | } 22 | }, 23 | "node_modules/abbrev": { 24 | "version": "1.1.1", 25 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 26 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 27 | }, 28 | "node_modules/accepts": { 29 | "version": "1.3.8", 30 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 31 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 32 | "dependencies": { 33 | "mime-types": "~2.1.34", 34 | "negotiator": "0.6.3" 35 | }, 36 | "engines": { 37 | "node": ">= 0.6" 38 | } 39 | }, 40 | "node_modules/anymatch": { 41 | "version": "3.1.3", 42 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 43 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 44 | "dependencies": { 45 | "normalize-path": "^3.0.0", 46 | "picomatch": "^2.0.4" 47 | }, 48 | "engines": { 49 | "node": ">= 8" 50 | } 51 | }, 52 | "node_modules/append-field": { 53 | "version": "1.0.0", 54 | "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", 55 | "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==" 56 | }, 57 | "node_modules/array-flatten": { 58 | "version": "1.1.1", 59 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 60 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 61 | }, 62 | "node_modules/balanced-match": { 63 | "version": "1.0.2", 64 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 65 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 66 | }, 67 | "node_modules/bcryptjs": { 68 | "version": "2.4.3", 69 | "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", 70 | "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==" 71 | }, 72 | "node_modules/bignumber.js": { 73 | "version": "9.0.0", 74 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", 75 | "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==", 76 | "engines": { 77 | "node": "*" 78 | } 79 | }, 80 | "node_modules/binary-extensions": { 81 | "version": "2.2.0", 82 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 83 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 84 | "engines": { 85 | "node": ">=8" 86 | } 87 | }, 88 | "node_modules/body-parser": { 89 | "version": "1.20.1", 90 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 91 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 92 | "dependencies": { 93 | "bytes": "3.1.2", 94 | "content-type": "~1.0.4", 95 | "debug": "2.6.9", 96 | "depd": "2.0.0", 97 | "destroy": "1.2.0", 98 | "http-errors": "2.0.0", 99 | "iconv-lite": "0.4.24", 100 | "on-finished": "2.4.1", 101 | "qs": "6.11.0", 102 | "raw-body": "2.5.1", 103 | "type-is": "~1.6.18", 104 | "unpipe": "1.0.0" 105 | }, 106 | "engines": { 107 | "node": ">= 0.8", 108 | "npm": "1.2.8000 || >= 1.4.16" 109 | } 110 | }, 111 | "node_modules/brace-expansion": { 112 | "version": "1.1.11", 113 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 114 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 115 | "dependencies": { 116 | "balanced-match": "^1.0.0", 117 | "concat-map": "0.0.1" 118 | } 119 | }, 120 | "node_modules/braces": { 121 | "version": "3.0.2", 122 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 123 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 124 | "dependencies": { 125 | "fill-range": "^7.0.1" 126 | }, 127 | "engines": { 128 | "node": ">=8" 129 | } 130 | }, 131 | "node_modules/buffer-equal-constant-time": { 132 | "version": "1.0.1", 133 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", 134 | "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" 135 | }, 136 | "node_modules/buffer-from": { 137 | "version": "1.1.2", 138 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 139 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" 140 | }, 141 | "node_modules/busboy": { 142 | "version": "1.6.0", 143 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", 144 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", 145 | "dependencies": { 146 | "streamsearch": "^1.1.0" 147 | }, 148 | "engines": { 149 | "node": ">=10.16.0" 150 | } 151 | }, 152 | "node_modules/bytes": { 153 | "version": "3.1.2", 154 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 155 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 156 | "engines": { 157 | "node": ">= 0.8" 158 | } 159 | }, 160 | "node_modules/call-bind": { 161 | "version": "1.0.5", 162 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", 163 | "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", 164 | "dependencies": { 165 | "function-bind": "^1.1.2", 166 | "get-intrinsic": "^1.2.1", 167 | "set-function-length": "^1.1.1" 168 | }, 169 | "funding": { 170 | "url": "https://github.com/sponsors/ljharb" 171 | } 172 | }, 173 | "node_modules/chokidar": { 174 | "version": "3.5.3", 175 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 176 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 177 | "funding": [ 178 | { 179 | "type": "individual", 180 | "url": "https://paulmillr.com/funding/" 181 | } 182 | ], 183 | "dependencies": { 184 | "anymatch": "~3.1.2", 185 | "braces": "~3.0.2", 186 | "glob-parent": "~5.1.2", 187 | "is-binary-path": "~2.1.0", 188 | "is-glob": "~4.0.1", 189 | "normalize-path": "~3.0.0", 190 | "readdirp": "~3.6.0" 191 | }, 192 | "engines": { 193 | "node": ">= 8.10.0" 194 | }, 195 | "optionalDependencies": { 196 | "fsevents": "~2.3.2" 197 | } 198 | }, 199 | "node_modules/concat-map": { 200 | "version": "0.0.1", 201 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 202 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 203 | }, 204 | "node_modules/concat-stream": { 205 | "version": "1.6.2", 206 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 207 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 208 | "engines": [ 209 | "node >= 0.8" 210 | ], 211 | "dependencies": { 212 | "buffer-from": "^1.0.0", 213 | "inherits": "^2.0.3", 214 | "readable-stream": "^2.2.2", 215 | "typedarray": "^0.0.6" 216 | } 217 | }, 218 | "node_modules/content-disposition": { 219 | "version": "0.5.4", 220 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 221 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 222 | "dependencies": { 223 | "safe-buffer": "5.2.1" 224 | }, 225 | "engines": { 226 | "node": ">= 0.6" 227 | } 228 | }, 229 | "node_modules/content-type": { 230 | "version": "1.0.5", 231 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 232 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 233 | "engines": { 234 | "node": ">= 0.6" 235 | } 236 | }, 237 | "node_modules/cookie": { 238 | "version": "0.5.0", 239 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 240 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 241 | "engines": { 242 | "node": ">= 0.6" 243 | } 244 | }, 245 | "node_modules/cookie-parser": { 246 | "version": "1.4.6", 247 | "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.6.tgz", 248 | "integrity": "sha512-z3IzaNjdwUC2olLIB5/ITd0/setiaFMLYiZJle7xg5Fe9KWAceil7xszYfHHBtDFYLSgJduS2Ty0P1uJdPDJeA==", 249 | "dependencies": { 250 | "cookie": "0.4.1", 251 | "cookie-signature": "1.0.6" 252 | }, 253 | "engines": { 254 | "node": ">= 0.8.0" 255 | } 256 | }, 257 | "node_modules/cookie-parser/node_modules/cookie": { 258 | "version": "0.4.1", 259 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", 260 | "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", 261 | "engines": { 262 | "node": ">= 0.6" 263 | } 264 | }, 265 | "node_modules/cookie-signature": { 266 | "version": "1.0.6", 267 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 268 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 269 | }, 270 | "node_modules/core-util-is": { 271 | "version": "1.0.3", 272 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 273 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" 274 | }, 275 | "node_modules/cors": { 276 | "version": "2.8.5", 277 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 278 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 279 | "dependencies": { 280 | "object-assign": "^4", 281 | "vary": "^1" 282 | }, 283 | "engines": { 284 | "node": ">= 0.10" 285 | } 286 | }, 287 | "node_modules/debug": { 288 | "version": "2.6.9", 289 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 290 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 291 | "dependencies": { 292 | "ms": "2.0.0" 293 | } 294 | }, 295 | "node_modules/define-data-property": { 296 | "version": "1.1.1", 297 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", 298 | "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", 299 | "dependencies": { 300 | "get-intrinsic": "^1.2.1", 301 | "gopd": "^1.0.1", 302 | "has-property-descriptors": "^1.0.0" 303 | }, 304 | "engines": { 305 | "node": ">= 0.4" 306 | } 307 | }, 308 | "node_modules/depd": { 309 | "version": "2.0.0", 310 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 311 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 312 | "engines": { 313 | "node": ">= 0.8" 314 | } 315 | }, 316 | "node_modules/destroy": { 317 | "version": "1.2.0", 318 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 319 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 320 | "engines": { 321 | "node": ">= 0.8", 322 | "npm": "1.2.8000 || >= 1.4.16" 323 | } 324 | }, 325 | "node_modules/ecdsa-sig-formatter": { 326 | "version": "1.0.11", 327 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 328 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", 329 | "dependencies": { 330 | "safe-buffer": "^5.0.1" 331 | } 332 | }, 333 | "node_modules/ee-first": { 334 | "version": "1.1.1", 335 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 336 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 337 | }, 338 | "node_modules/encodeurl": { 339 | "version": "1.0.2", 340 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 341 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 342 | "engines": { 343 | "node": ">= 0.8" 344 | } 345 | }, 346 | "node_modules/escape-html": { 347 | "version": "1.0.3", 348 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 349 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 350 | }, 351 | "node_modules/etag": { 352 | "version": "1.8.1", 353 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 354 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 355 | "engines": { 356 | "node": ">= 0.6" 357 | } 358 | }, 359 | "node_modules/express": { 360 | "version": "4.18.2", 361 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 362 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 363 | "dependencies": { 364 | "accepts": "~1.3.8", 365 | "array-flatten": "1.1.1", 366 | "body-parser": "1.20.1", 367 | "content-disposition": "0.5.4", 368 | "content-type": "~1.0.4", 369 | "cookie": "0.5.0", 370 | "cookie-signature": "1.0.6", 371 | "debug": "2.6.9", 372 | "depd": "2.0.0", 373 | "encodeurl": "~1.0.2", 374 | "escape-html": "~1.0.3", 375 | "etag": "~1.8.1", 376 | "finalhandler": "1.2.0", 377 | "fresh": "0.5.2", 378 | "http-errors": "2.0.0", 379 | "merge-descriptors": "1.0.1", 380 | "methods": "~1.1.2", 381 | "on-finished": "2.4.1", 382 | "parseurl": "~1.3.3", 383 | "path-to-regexp": "0.1.7", 384 | "proxy-addr": "~2.0.7", 385 | "qs": "6.11.0", 386 | "range-parser": "~1.2.1", 387 | "safe-buffer": "5.2.1", 388 | "send": "0.18.0", 389 | "serve-static": "1.15.0", 390 | "setprototypeof": "1.2.0", 391 | "statuses": "2.0.1", 392 | "type-is": "~1.6.18", 393 | "utils-merge": "1.0.1", 394 | "vary": "~1.1.2" 395 | }, 396 | "engines": { 397 | "node": ">= 0.10.0" 398 | } 399 | }, 400 | "node_modules/fill-range": { 401 | "version": "7.0.1", 402 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 403 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 404 | "dependencies": { 405 | "to-regex-range": "^5.0.1" 406 | }, 407 | "engines": { 408 | "node": ">=8" 409 | } 410 | }, 411 | "node_modules/finalhandler": { 412 | "version": "1.2.0", 413 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 414 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 415 | "dependencies": { 416 | "debug": "2.6.9", 417 | "encodeurl": "~1.0.2", 418 | "escape-html": "~1.0.3", 419 | "on-finished": "2.4.1", 420 | "parseurl": "~1.3.3", 421 | "statuses": "2.0.1", 422 | "unpipe": "~1.0.0" 423 | }, 424 | "engines": { 425 | "node": ">= 0.8" 426 | } 427 | }, 428 | "node_modules/forwarded": { 429 | "version": "0.2.0", 430 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 431 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 432 | "engines": { 433 | "node": ">= 0.6" 434 | } 435 | }, 436 | "node_modules/fresh": { 437 | "version": "0.5.2", 438 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 439 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 440 | "engines": { 441 | "node": ">= 0.6" 442 | } 443 | }, 444 | "node_modules/fsevents": { 445 | "version": "2.3.3", 446 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 447 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 448 | "hasInstallScript": true, 449 | "optional": true, 450 | "os": [ 451 | "darwin" 452 | ], 453 | "engines": { 454 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 455 | } 456 | }, 457 | "node_modules/function-bind": { 458 | "version": "1.1.2", 459 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 460 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 461 | "funding": { 462 | "url": "https://github.com/sponsors/ljharb" 463 | } 464 | }, 465 | "node_modules/get-intrinsic": { 466 | "version": "1.2.2", 467 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", 468 | "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", 469 | "dependencies": { 470 | "function-bind": "^1.1.2", 471 | "has-proto": "^1.0.1", 472 | "has-symbols": "^1.0.3", 473 | "hasown": "^2.0.0" 474 | }, 475 | "funding": { 476 | "url": "https://github.com/sponsors/ljharb" 477 | } 478 | }, 479 | "node_modules/glob-parent": { 480 | "version": "5.1.2", 481 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 482 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 483 | "dependencies": { 484 | "is-glob": "^4.0.1" 485 | }, 486 | "engines": { 487 | "node": ">= 6" 488 | } 489 | }, 490 | "node_modules/gopd": { 491 | "version": "1.0.1", 492 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 493 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 494 | "dependencies": { 495 | "get-intrinsic": "^1.1.3" 496 | }, 497 | "funding": { 498 | "url": "https://github.com/sponsors/ljharb" 499 | } 500 | }, 501 | "node_modules/has-flag": { 502 | "version": "3.0.0", 503 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 504 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 505 | "engines": { 506 | "node": ">=4" 507 | } 508 | }, 509 | "node_modules/has-property-descriptors": { 510 | "version": "1.0.1", 511 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", 512 | "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", 513 | "dependencies": { 514 | "get-intrinsic": "^1.2.2" 515 | }, 516 | "funding": { 517 | "url": "https://github.com/sponsors/ljharb" 518 | } 519 | }, 520 | "node_modules/has-proto": { 521 | "version": "1.0.1", 522 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", 523 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", 524 | "engines": { 525 | "node": ">= 0.4" 526 | }, 527 | "funding": { 528 | "url": "https://github.com/sponsors/ljharb" 529 | } 530 | }, 531 | "node_modules/has-symbols": { 532 | "version": "1.0.3", 533 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 534 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 535 | "engines": { 536 | "node": ">= 0.4" 537 | }, 538 | "funding": { 539 | "url": "https://github.com/sponsors/ljharb" 540 | } 541 | }, 542 | "node_modules/hasown": { 543 | "version": "2.0.0", 544 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", 545 | "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", 546 | "dependencies": { 547 | "function-bind": "^1.1.2" 548 | }, 549 | "engines": { 550 | "node": ">= 0.4" 551 | } 552 | }, 553 | "node_modules/http-errors": { 554 | "version": "2.0.0", 555 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 556 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 557 | "dependencies": { 558 | "depd": "2.0.0", 559 | "inherits": "2.0.4", 560 | "setprototypeof": "1.2.0", 561 | "statuses": "2.0.1", 562 | "toidentifier": "1.0.1" 563 | }, 564 | "engines": { 565 | "node": ">= 0.8" 566 | } 567 | }, 568 | "node_modules/iconv-lite": { 569 | "version": "0.4.24", 570 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 571 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 572 | "dependencies": { 573 | "safer-buffer": ">= 2.1.2 < 3" 574 | }, 575 | "engines": { 576 | "node": ">=0.10.0" 577 | } 578 | }, 579 | "node_modules/ignore-by-default": { 580 | "version": "1.0.1", 581 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 582 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" 583 | }, 584 | "node_modules/inherits": { 585 | "version": "2.0.4", 586 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 587 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 588 | }, 589 | "node_modules/ipaddr.js": { 590 | "version": "1.9.1", 591 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 592 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 593 | "engines": { 594 | "node": ">= 0.10" 595 | } 596 | }, 597 | "node_modules/is-binary-path": { 598 | "version": "2.1.0", 599 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 600 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 601 | "dependencies": { 602 | "binary-extensions": "^2.0.0" 603 | }, 604 | "engines": { 605 | "node": ">=8" 606 | } 607 | }, 608 | "node_modules/is-extglob": { 609 | "version": "2.1.1", 610 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 611 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 612 | "engines": { 613 | "node": ">=0.10.0" 614 | } 615 | }, 616 | "node_modules/is-glob": { 617 | "version": "4.0.3", 618 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 619 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 620 | "dependencies": { 621 | "is-extglob": "^2.1.1" 622 | }, 623 | "engines": { 624 | "node": ">=0.10.0" 625 | } 626 | }, 627 | "node_modules/is-number": { 628 | "version": "7.0.0", 629 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 630 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 631 | "engines": { 632 | "node": ">=0.12.0" 633 | } 634 | }, 635 | "node_modules/isarray": { 636 | "version": "1.0.0", 637 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 638 | "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" 639 | }, 640 | "node_modules/jsonwebtoken": { 641 | "version": "9.0.2", 642 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", 643 | "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", 644 | "dependencies": { 645 | "jws": "^3.2.2", 646 | "lodash.includes": "^4.3.0", 647 | "lodash.isboolean": "^3.0.3", 648 | "lodash.isinteger": "^4.0.4", 649 | "lodash.isnumber": "^3.0.3", 650 | "lodash.isplainobject": "^4.0.6", 651 | "lodash.isstring": "^4.0.1", 652 | "lodash.once": "^4.0.0", 653 | "ms": "^2.1.1", 654 | "semver": "^7.5.4" 655 | }, 656 | "engines": { 657 | "node": ">=12", 658 | "npm": ">=6" 659 | } 660 | }, 661 | "node_modules/jsonwebtoken/node_modules/ms": { 662 | "version": "2.1.3", 663 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 664 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 665 | }, 666 | "node_modules/jwa": { 667 | "version": "1.4.1", 668 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", 669 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", 670 | "dependencies": { 671 | "buffer-equal-constant-time": "1.0.1", 672 | "ecdsa-sig-formatter": "1.0.11", 673 | "safe-buffer": "^5.0.1" 674 | } 675 | }, 676 | "node_modules/jws": { 677 | "version": "3.2.2", 678 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", 679 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", 680 | "dependencies": { 681 | "jwa": "^1.4.1", 682 | "safe-buffer": "^5.0.1" 683 | } 684 | }, 685 | "node_modules/lodash.includes": { 686 | "version": "4.3.0", 687 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", 688 | "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" 689 | }, 690 | "node_modules/lodash.isboolean": { 691 | "version": "3.0.3", 692 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", 693 | "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" 694 | }, 695 | "node_modules/lodash.isinteger": { 696 | "version": "4.0.4", 697 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", 698 | "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" 699 | }, 700 | "node_modules/lodash.isnumber": { 701 | "version": "3.0.3", 702 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", 703 | "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" 704 | }, 705 | "node_modules/lodash.isplainobject": { 706 | "version": "4.0.6", 707 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 708 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" 709 | }, 710 | "node_modules/lodash.isstring": { 711 | "version": "4.0.1", 712 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", 713 | "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" 714 | }, 715 | "node_modules/lodash.once": { 716 | "version": "4.1.1", 717 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", 718 | "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" 719 | }, 720 | "node_modules/lru-cache": { 721 | "version": "6.0.0", 722 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 723 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 724 | "dependencies": { 725 | "yallist": "^4.0.0" 726 | }, 727 | "engines": { 728 | "node": ">=10" 729 | } 730 | }, 731 | "node_modules/media-typer": { 732 | "version": "0.3.0", 733 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 734 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 735 | "engines": { 736 | "node": ">= 0.6" 737 | } 738 | }, 739 | "node_modules/merge-descriptors": { 740 | "version": "1.0.1", 741 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 742 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 743 | }, 744 | "node_modules/methods": { 745 | "version": "1.1.2", 746 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 747 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 748 | "engines": { 749 | "node": ">= 0.6" 750 | } 751 | }, 752 | "node_modules/mime": { 753 | "version": "1.6.0", 754 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 755 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 756 | "bin": { 757 | "mime": "cli.js" 758 | }, 759 | "engines": { 760 | "node": ">=4" 761 | } 762 | }, 763 | "node_modules/mime-db": { 764 | "version": "1.52.0", 765 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 766 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 767 | "engines": { 768 | "node": ">= 0.6" 769 | } 770 | }, 771 | "node_modules/mime-types": { 772 | "version": "2.1.35", 773 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 774 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 775 | "dependencies": { 776 | "mime-db": "1.52.0" 777 | }, 778 | "engines": { 779 | "node": ">= 0.6" 780 | } 781 | }, 782 | "node_modules/minimatch": { 783 | "version": "3.1.2", 784 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 785 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 786 | "dependencies": { 787 | "brace-expansion": "^1.1.7" 788 | }, 789 | "engines": { 790 | "node": "*" 791 | } 792 | }, 793 | "node_modules/minimist": { 794 | "version": "1.2.8", 795 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 796 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 797 | "funding": { 798 | "url": "https://github.com/sponsors/ljharb" 799 | } 800 | }, 801 | "node_modules/mkdirp": { 802 | "version": "0.5.6", 803 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 804 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 805 | "dependencies": { 806 | "minimist": "^1.2.6" 807 | }, 808 | "bin": { 809 | "mkdirp": "bin/cmd.js" 810 | } 811 | }, 812 | "node_modules/moment": { 813 | "version": "2.30.1", 814 | "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", 815 | "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", 816 | "engines": { 817 | "node": "*" 818 | } 819 | }, 820 | "node_modules/ms": { 821 | "version": "2.0.0", 822 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 823 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 824 | }, 825 | "node_modules/multer": { 826 | "version": "1.4.5-lts.1", 827 | "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.5-lts.1.tgz", 828 | "integrity": "sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ==", 829 | "dependencies": { 830 | "append-field": "^1.0.0", 831 | "busboy": "^1.0.0", 832 | "concat-stream": "^1.5.2", 833 | "mkdirp": "^0.5.4", 834 | "object-assign": "^4.1.1", 835 | "type-is": "^1.6.4", 836 | "xtend": "^4.0.0" 837 | }, 838 | "engines": { 839 | "node": ">= 6.0.0" 840 | } 841 | }, 842 | "node_modules/mysql": { 843 | "version": "2.18.1", 844 | "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz", 845 | "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==", 846 | "dependencies": { 847 | "bignumber.js": "9.0.0", 848 | "readable-stream": "2.3.7", 849 | "safe-buffer": "5.1.2", 850 | "sqlstring": "2.3.1" 851 | }, 852 | "engines": { 853 | "node": ">= 0.6" 854 | } 855 | }, 856 | "node_modules/mysql/node_modules/safe-buffer": { 857 | "version": "5.1.2", 858 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 859 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 860 | }, 861 | "node_modules/negotiator": { 862 | "version": "0.6.3", 863 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 864 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 865 | "engines": { 866 | "node": ">= 0.6" 867 | } 868 | }, 869 | "node_modules/nodemon": { 870 | "version": "3.0.3", 871 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.3.tgz", 872 | "integrity": "sha512-7jH/NXbFPxVaMwmBCC2B9F/V6X1VkEdNgx3iu9jji8WxWcvhMWkmhNWhI5077zknOnZnBzba9hZP6bCPJLSReQ==", 873 | "dependencies": { 874 | "chokidar": "^3.5.2", 875 | "debug": "^4", 876 | "ignore-by-default": "^1.0.1", 877 | "minimatch": "^3.1.2", 878 | "pstree.remy": "^1.1.8", 879 | "semver": "^7.5.3", 880 | "simple-update-notifier": "^2.0.0", 881 | "supports-color": "^5.5.0", 882 | "touch": "^3.1.0", 883 | "undefsafe": "^2.0.5" 884 | }, 885 | "bin": { 886 | "nodemon": "bin/nodemon.js" 887 | }, 888 | "engines": { 889 | "node": ">=10" 890 | }, 891 | "funding": { 892 | "type": "opencollective", 893 | "url": "https://opencollective.com/nodemon" 894 | } 895 | }, 896 | "node_modules/nodemon/node_modules/debug": { 897 | "version": "4.3.4", 898 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 899 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 900 | "dependencies": { 901 | "ms": "2.1.2" 902 | }, 903 | "engines": { 904 | "node": ">=6.0" 905 | }, 906 | "peerDependenciesMeta": { 907 | "supports-color": { 908 | "optional": true 909 | } 910 | } 911 | }, 912 | "node_modules/nodemon/node_modules/ms": { 913 | "version": "2.1.2", 914 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 915 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 916 | }, 917 | "node_modules/nopt": { 918 | "version": "1.0.10", 919 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 920 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 921 | "dependencies": { 922 | "abbrev": "1" 923 | }, 924 | "bin": { 925 | "nopt": "bin/nopt.js" 926 | }, 927 | "engines": { 928 | "node": "*" 929 | } 930 | }, 931 | "node_modules/normalize-path": { 932 | "version": "3.0.0", 933 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 934 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 935 | "engines": { 936 | "node": ">=0.10.0" 937 | } 938 | }, 939 | "node_modules/object-assign": { 940 | "version": "4.1.1", 941 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 942 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 943 | "engines": { 944 | "node": ">=0.10.0" 945 | } 946 | }, 947 | "node_modules/object-inspect": { 948 | "version": "1.13.1", 949 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", 950 | "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", 951 | "funding": { 952 | "url": "https://github.com/sponsors/ljharb" 953 | } 954 | }, 955 | "node_modules/on-finished": { 956 | "version": "2.4.1", 957 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 958 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 959 | "dependencies": { 960 | "ee-first": "1.1.1" 961 | }, 962 | "engines": { 963 | "node": ">= 0.8" 964 | } 965 | }, 966 | "node_modules/parseurl": { 967 | "version": "1.3.3", 968 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 969 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 970 | "engines": { 971 | "node": ">= 0.8" 972 | } 973 | }, 974 | "node_modules/path-to-regexp": { 975 | "version": "0.1.7", 976 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 977 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 978 | }, 979 | "node_modules/picomatch": { 980 | "version": "2.3.1", 981 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 982 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 983 | "engines": { 984 | "node": ">=8.6" 985 | }, 986 | "funding": { 987 | "url": "https://github.com/sponsors/jonschlinkert" 988 | } 989 | }, 990 | "node_modules/process-nextick-args": { 991 | "version": "2.0.1", 992 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 993 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 994 | }, 995 | "node_modules/proxy-addr": { 996 | "version": "2.0.7", 997 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 998 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 999 | "dependencies": { 1000 | "forwarded": "0.2.0", 1001 | "ipaddr.js": "1.9.1" 1002 | }, 1003 | "engines": { 1004 | "node": ">= 0.10" 1005 | } 1006 | }, 1007 | "node_modules/pstree.remy": { 1008 | "version": "1.1.8", 1009 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 1010 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" 1011 | }, 1012 | "node_modules/qs": { 1013 | "version": "6.11.0", 1014 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 1015 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 1016 | "dependencies": { 1017 | "side-channel": "^1.0.4" 1018 | }, 1019 | "engines": { 1020 | "node": ">=0.6" 1021 | }, 1022 | "funding": { 1023 | "url": "https://github.com/sponsors/ljharb" 1024 | } 1025 | }, 1026 | "node_modules/range-parser": { 1027 | "version": "1.2.1", 1028 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1029 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 1030 | "engines": { 1031 | "node": ">= 0.6" 1032 | } 1033 | }, 1034 | "node_modules/raw-body": { 1035 | "version": "2.5.1", 1036 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 1037 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 1038 | "dependencies": { 1039 | "bytes": "3.1.2", 1040 | "http-errors": "2.0.0", 1041 | "iconv-lite": "0.4.24", 1042 | "unpipe": "1.0.0" 1043 | }, 1044 | "engines": { 1045 | "node": ">= 0.8" 1046 | } 1047 | }, 1048 | "node_modules/readable-stream": { 1049 | "version": "2.3.7", 1050 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1051 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1052 | "dependencies": { 1053 | "core-util-is": "~1.0.0", 1054 | "inherits": "~2.0.3", 1055 | "isarray": "~1.0.0", 1056 | "process-nextick-args": "~2.0.0", 1057 | "safe-buffer": "~5.1.1", 1058 | "string_decoder": "~1.1.1", 1059 | "util-deprecate": "~1.0.1" 1060 | } 1061 | }, 1062 | "node_modules/readable-stream/node_modules/safe-buffer": { 1063 | "version": "5.1.2", 1064 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1065 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1066 | }, 1067 | "node_modules/readdirp": { 1068 | "version": "3.6.0", 1069 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1070 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1071 | "dependencies": { 1072 | "picomatch": "^2.2.1" 1073 | }, 1074 | "engines": { 1075 | "node": ">=8.10.0" 1076 | } 1077 | }, 1078 | "node_modules/safe-buffer": { 1079 | "version": "5.2.1", 1080 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1081 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1082 | "funding": [ 1083 | { 1084 | "type": "github", 1085 | "url": "https://github.com/sponsors/feross" 1086 | }, 1087 | { 1088 | "type": "patreon", 1089 | "url": "https://www.patreon.com/feross" 1090 | }, 1091 | { 1092 | "type": "consulting", 1093 | "url": "https://feross.org/support" 1094 | } 1095 | ] 1096 | }, 1097 | "node_modules/safer-buffer": { 1098 | "version": "2.1.2", 1099 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1100 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1101 | }, 1102 | "node_modules/semver": { 1103 | "version": "7.5.4", 1104 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", 1105 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", 1106 | "dependencies": { 1107 | "lru-cache": "^6.0.0" 1108 | }, 1109 | "bin": { 1110 | "semver": "bin/semver.js" 1111 | }, 1112 | "engines": { 1113 | "node": ">=10" 1114 | } 1115 | }, 1116 | "node_modules/send": { 1117 | "version": "0.18.0", 1118 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1119 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1120 | "dependencies": { 1121 | "debug": "2.6.9", 1122 | "depd": "2.0.0", 1123 | "destroy": "1.2.0", 1124 | "encodeurl": "~1.0.2", 1125 | "escape-html": "~1.0.3", 1126 | "etag": "~1.8.1", 1127 | "fresh": "0.5.2", 1128 | "http-errors": "2.0.0", 1129 | "mime": "1.6.0", 1130 | "ms": "2.1.3", 1131 | "on-finished": "2.4.1", 1132 | "range-parser": "~1.2.1", 1133 | "statuses": "2.0.1" 1134 | }, 1135 | "engines": { 1136 | "node": ">= 0.8.0" 1137 | } 1138 | }, 1139 | "node_modules/send/node_modules/ms": { 1140 | "version": "2.1.3", 1141 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1142 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1143 | }, 1144 | "node_modules/serve-static": { 1145 | "version": "1.15.0", 1146 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 1147 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 1148 | "dependencies": { 1149 | "encodeurl": "~1.0.2", 1150 | "escape-html": "~1.0.3", 1151 | "parseurl": "~1.3.3", 1152 | "send": "0.18.0" 1153 | }, 1154 | "engines": { 1155 | "node": ">= 0.8.0" 1156 | } 1157 | }, 1158 | "node_modules/set-function-length": { 1159 | "version": "1.2.0", 1160 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", 1161 | "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", 1162 | "dependencies": { 1163 | "define-data-property": "^1.1.1", 1164 | "function-bind": "^1.1.2", 1165 | "get-intrinsic": "^1.2.2", 1166 | "gopd": "^1.0.1", 1167 | "has-property-descriptors": "^1.0.1" 1168 | }, 1169 | "engines": { 1170 | "node": ">= 0.4" 1171 | } 1172 | }, 1173 | "node_modules/setprototypeof": { 1174 | "version": "1.2.0", 1175 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1176 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 1177 | }, 1178 | "node_modules/side-channel": { 1179 | "version": "1.0.4", 1180 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1181 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1182 | "dependencies": { 1183 | "call-bind": "^1.0.0", 1184 | "get-intrinsic": "^1.0.2", 1185 | "object-inspect": "^1.9.0" 1186 | }, 1187 | "funding": { 1188 | "url": "https://github.com/sponsors/ljharb" 1189 | } 1190 | }, 1191 | "node_modules/simple-update-notifier": { 1192 | "version": "2.0.0", 1193 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", 1194 | "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", 1195 | "dependencies": { 1196 | "semver": "^7.5.3" 1197 | }, 1198 | "engines": { 1199 | "node": ">=10" 1200 | } 1201 | }, 1202 | "node_modules/sqlstring": { 1203 | "version": "2.3.1", 1204 | "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz", 1205 | "integrity": "sha512-ooAzh/7dxIG5+uDik1z/Rd1vli0+38izZhGzSa34FwR7IbelPWCCKSNIl8jlL/F7ERvy8CB2jNeM1E9i9mXMAQ==", 1206 | "engines": { 1207 | "node": ">= 0.6" 1208 | } 1209 | }, 1210 | "node_modules/statuses": { 1211 | "version": "2.0.1", 1212 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1213 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 1214 | "engines": { 1215 | "node": ">= 0.8" 1216 | } 1217 | }, 1218 | "node_modules/streamsearch": { 1219 | "version": "1.1.0", 1220 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", 1221 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", 1222 | "engines": { 1223 | "node": ">=10.0.0" 1224 | } 1225 | }, 1226 | "node_modules/string_decoder": { 1227 | "version": "1.1.1", 1228 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1229 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1230 | "dependencies": { 1231 | "safe-buffer": "~5.1.0" 1232 | } 1233 | }, 1234 | "node_modules/string_decoder/node_modules/safe-buffer": { 1235 | "version": "5.1.2", 1236 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1237 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1238 | }, 1239 | "node_modules/supports-color": { 1240 | "version": "5.5.0", 1241 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1242 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1243 | "dependencies": { 1244 | "has-flag": "^3.0.0" 1245 | }, 1246 | "engines": { 1247 | "node": ">=4" 1248 | } 1249 | }, 1250 | "node_modules/to-regex-range": { 1251 | "version": "5.0.1", 1252 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1253 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1254 | "dependencies": { 1255 | "is-number": "^7.0.0" 1256 | }, 1257 | "engines": { 1258 | "node": ">=8.0" 1259 | } 1260 | }, 1261 | "node_modules/toidentifier": { 1262 | "version": "1.0.1", 1263 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1264 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 1265 | "engines": { 1266 | "node": ">=0.6" 1267 | } 1268 | }, 1269 | "node_modules/touch": { 1270 | "version": "3.1.0", 1271 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 1272 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 1273 | "dependencies": { 1274 | "nopt": "~1.0.10" 1275 | }, 1276 | "bin": { 1277 | "nodetouch": "bin/nodetouch.js" 1278 | } 1279 | }, 1280 | "node_modules/type-is": { 1281 | "version": "1.6.18", 1282 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1283 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1284 | "dependencies": { 1285 | "media-typer": "0.3.0", 1286 | "mime-types": "~2.1.24" 1287 | }, 1288 | "engines": { 1289 | "node": ">= 0.6" 1290 | } 1291 | }, 1292 | "node_modules/typedarray": { 1293 | "version": "0.0.6", 1294 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 1295 | "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" 1296 | }, 1297 | "node_modules/undefsafe": { 1298 | "version": "2.0.5", 1299 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 1300 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" 1301 | }, 1302 | "node_modules/unpipe": { 1303 | "version": "1.0.0", 1304 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1305 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 1306 | "engines": { 1307 | "node": ">= 0.8" 1308 | } 1309 | }, 1310 | "node_modules/util-deprecate": { 1311 | "version": "1.0.2", 1312 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1313 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 1314 | }, 1315 | "node_modules/utils-merge": { 1316 | "version": "1.0.1", 1317 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1318 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 1319 | "engines": { 1320 | "node": ">= 0.4.0" 1321 | } 1322 | }, 1323 | "node_modules/vary": { 1324 | "version": "1.1.2", 1325 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1326 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 1327 | "engines": { 1328 | "node": ">= 0.8" 1329 | } 1330 | }, 1331 | "node_modules/xtend": { 1332 | "version": "4.0.2", 1333 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 1334 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 1335 | "engines": { 1336 | "node": ">=0.4" 1337 | } 1338 | }, 1339 | "node_modules/yallist": { 1340 | "version": "4.0.0", 1341 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 1342 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 1343 | } 1344 | } 1345 | } 1346 | -------------------------------------------------------------------------------- /API/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "api", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "start": "nodemon index.js" 9 | }, 10 | "keywords": [], 11 | "author": "", 12 | "license": "ISC", 13 | "dependencies": { 14 | "bcryptjs": "^2.4.3", 15 | "cookie-parser": "^1.4.6", 16 | "cors": "^2.8.5", 17 | "express": "^4.18.2", 18 | "jsonwebtoken": "^9.0.2", 19 | "moment": "^2.30.1", 20 | "multer": "^1.4.5-lts.1", 21 | "mysql": "^2.18.1", 22 | "nodemon": "^3.0.3" 23 | }, 24 | "type": "module" 25 | } 26 | -------------------------------------------------------------------------------- /API/routes/auth.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import { login,register,logout } from "../controllers/auth.js"; 3 | 4 | const router = express.Router() 5 | 6 | router.post("/login", login) 7 | router.post("/register", register) 8 | router.post("/logout", logout) 9 | 10 | 11 | export default router -------------------------------------------------------------------------------- /API/routes/comments.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import { getComments, addComment } from "../controllers/comment.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/", getComments); 7 | router.post("/", addComment); 8 | 9 | export default router; -------------------------------------------------------------------------------- /API/routes/likes.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import {getLikes, addLike, deleteLike} from "../controllers/like.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/",getLikes) 7 | router.post("/",addLike) 8 | router.delete("/",deleteLike) 9 | 10 | export default router; -------------------------------------------------------------------------------- /API/routes/posts.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import {getPosts, addPost,deletePost } from "../controllers/post.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/",getPosts); 7 | router.post("/",addPost); 8 | router.delete("/:id",deletePost); 9 | 10 | export default router; -------------------------------------------------------------------------------- /API/routes/relationships.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import {getRelationships, addRelationship, deleteRelationship} from "../controllers/relationship.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/",getRelationships) 7 | router.post("/",addRelationship) 8 | router.delete("/",deleteRelationship) 9 | 10 | export default router; -------------------------------------------------------------------------------- /API/routes/stories.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import { getStories,addStory,deleteStory } from "../controllers/story.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/",getStories); 7 | router.post("/",addStory); 8 | router.delete("/:id",deleteStory); 9 | 10 | export default router; -------------------------------------------------------------------------------- /API/routes/users.js: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | import { getUser,updateUser } from "../controllers/user.js"; 3 | 4 | const router=express.Router(); 5 | 6 | router.get("/find/:userId",getUser) 7 | router.put("/",updateUser) 8 | 9 | export default router; -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 xLoy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |  3 | 4 |  5 | 6 | #### ~~This GitHub open-source project isn't fully prepared for use yet; I'm still actively refining the code to enhance its functionality. Additionally, I'll be updating the MySQL database structure soon.~~ 7 | 8 | #### Great news! This GitHub open-source project is now fully prepared for use. Dive in and explore its features! 9 | 10 | 11 | ## SocialPulse 2024 React Node.js MySQL Social Media App Open Source 12 | 13 | ### Full Stack Social Network App | Open Source 14 | 15 | This repository contains the source code for SocialPulse, a full-stack social media application built using React.js, daisyUI, Tailwind CSS, Express.js, Node.js, MySQL, and React Query. SocialPulse provides a comprehensive platform for users to connect, share posts, interact with friends, and engage in social networking activities. 16 | 17 | 18 | ### ShowCase: 19 | - **Homepage Dark Mode**: 20 | 21 |  22 | 23 | 24 | - **Homepage Light Mode**: 25 | 26 |  27 | 28 | 29 | - **Login Page**: 30 | 31 |  32 | 33 | 34 | - **Register Page**: 35 | 36 |  37 | 38 | 39 | - **Profile**: 40 | 41 |  42 | 43 | 44 | - **Manage Settings**: 45 | 46 |  47 | 48 | 49 | - **Manage Post**: 50 | 51 |  52 | 53 | - **And many more features such as creating and managing stories, etc...** 54 | 55 | 56 | 57 | ### Technologies Used: 58 | 59 | - **React.js**: A JavaScript library for building user interfaces. 60 | - **daisyUI**: A Tailwind CSS component library for rapid UI development. 61 | - **Tailwind CSS**: A utility-first CSS framework for creating custom designs. 62 | - **Express.js**: A web application framework for Node.js used for building RESTful APIs. 63 | - **Node.js**: A JavaScript runtime environment for server-side development. 64 | - **MySQL**: An open-source relational database management system used for data storage. 65 | - **React-Query**: A library for managing server state in React applications. 66 | 67 | ### Features Implemented: 68 | 69 | - **Frontend Design**: Utilized daisyUI and Tailwind CSS for a modern and responsive user interface. 70 | - **Database Schema and Relationships**: Designed MySQL tables and established relationships for social media functionalities. 71 | - **RESTful API**: Implemented Node.js and Express.js to create a RESTful API for handling CRUD operations. 72 | - **Authentication and Authorization**: Implemented user authentication and authorization using JWT and cookies. 73 | - **User Management**: Implemented user registration, login, profile management, and password hashing. 74 | - **Posts and Comments**: Enabled users to create, view, update, and delete posts and comments. 75 | - **Like/Dislike Functionality**: Implemented like/dislike functionality for posts. 76 | - **Follow/Unfollow Functionality**: Implemented follow/unfollow functionality for users. 77 | - **File Upload**: Enabled users to upload files (e.g., images) to the server. 78 | - **User Profile**: Implemented fetching and displaying user profiles from the MySQL database. 79 | 80 | ## Run Locally 81 | 82 | Clone the project 83 | 84 | ```bash 85 | git clone gh repo clone mydevify/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source 86 | ``` 87 | 88 | Go to the Server directory 89 | 90 | ```bash 91 | cd API 92 | ``` 93 | 94 | Install dependencies 95 | 96 | ```bash 97 | npm install 98 | ``` 99 | 100 | Start the server 101 | 102 | ```bash 103 | npm start 104 | ``` 105 | 106 | Go to the Client directory 107 | 108 | ```bash 109 | cd Frontend 110 | ``` 111 | 112 | Install dependencies 113 | 114 | ```bash 115 | npm install 116 | ``` 117 | 118 | Start the Clietn 119 | 120 | ```bash 121 | npm run dev 122 | ``` 123 | 124 | Configure MySQL database settings in the backend configuration files. 125 | 126 | ```bash 127 | API/connect.js 128 | ``` 129 | 130 | ```bash 131 | Login info: 132 | 133 | Username: xLoy 134 | password: 123456789 135 | ``` 136 | 137 | 138 | ~~Note: I'll upload the database once the project is completed.~~ 139 | 140 | The Database has been added to the project Source. 141 | 142 | 143 | 144 | ### Contributors: 145 | 146 | - [xLoy](https://github.com/mydevify) 147 | - [Safak](https://github.com/safak) 148 | - [Lama Dev](https://www.youtube.com/@LamaDev) - For insightful tutorials and guidance on building React Node.js applications. 149 | 150 | Feel free to explore and contribute to this open-source project. Your contributions are highly appreciated! 151 | 152 | ### License: 153 | 154 | This project is licensed under the [MIT License](LICENSE). 155 | 156 | -------------------------------------------------------------------------------- /ShowCase/Edit_Profile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/Edit_Profile.PNG -------------------------------------------------------------------------------- /ShowCase/Light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/Light.PNG -------------------------------------------------------------------------------- /ShowCase/Likes_Comments.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/Likes_Comments.PNG -------------------------------------------------------------------------------- /ShowCase/Login.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/Login.PNG -------------------------------------------------------------------------------- /ShowCase/Profile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/Profile.PNG -------------------------------------------------------------------------------- /ShowCase/dark.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/dark.PNG -------------------------------------------------------------------------------- /ShowCase/manage_post.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/manage_post.PNG -------------------------------------------------------------------------------- /ShowCase/register.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xloyb/SocialPulse-React-Node.js-MySQL-Social-Media-App-Full-Stack-Social-Network-App-Open-Source/03a4576e5ab696f6bb3ff845e0ae96c225e23af4/ShowCase/register.PNG -------------------------------------------------------------------------------- /frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { browser: true, es2020: true }, 4 | extends: [ 5 | 'eslint:recommended', 6 | 'plugin:react/recommended', 7 | 'plugin:react/jsx-runtime', 8 | 'plugin:react-hooks/recommended', 9 | ], 10 | ignorePatterns: ['dist', '.eslintrc.cjs'], 11 | parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, 12 | settings: { react: { version: '18.2' } }, 13 | plugins: ['react-refresh'], 14 | rules: { 15 | 'react-refresh/only-export-components': [ 16 | 'warn', 17 | { allowConstantExport: true }, 18 | ], 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # React + Vite 2 | 3 | This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. 4 | 5 | Currently, two official plugins are available: 6 | 7 | - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh 8 | - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh 9 | -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |{post.Desc}
170 |Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi.
73 |gonna need this for errors.
74 | 75 | 76 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 |163 | {comment.desc} 164 |
165 |264 | an example replies template 265 |
266 |Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi.
82 |gonna need this for errors.
83 | 84 | 85 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 |Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi.
37 | 38 | 39 | 40 |{data.bio}
216 |43 | Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda 44 | excepturi exercitationem quasi. In deleniti eaque aut repudiandae et 45 | a id nisi. 46 |
47 | 48 | 49 | 50 |