saberchat

所属分类:MongoDB
开发工具:EJS
文件大小:1466KB
下载次数:0
上传日期:2023-04-11 15:09:31
上 传 者sh-1993
说明:  学校和小型组织的内联网平台。目前为蒙台梭利学校和学生经营的俱乐部提供服务...
(Intranet platform for schools and small organizations. Currently servicing Montessori schools and student-run clubs within the East Bay. Accessible at <https://saberchat.net>, <https://idot.saberchat.net> and <https://aapa.saberchat.net>)

文件列表:
.npmignore (0, 2023-04-11)
Procfile (16, 2023-04-11)
app.js (7179, 2023-04-11)
controllers (0, 2023-04-11)
controllers\admin.js (26272, 2023-04-11)
controllers\announcements.js (21972, 2023-04-11)
controllers\articles.js (18096, 2023-04-11)
controllers\chat.js (17829, 2023-04-11)
controllers\ecdocs.js (2544, 2023-04-11)
controllers\events.js (14871, 2023-04-11)
controllers\inbox.js (23264, 2023-04-11)
controllers\index.js (14680, 2023-04-11)
controllers\modules.js (13338, 2023-04-11)
controllers\polls.js (3851, 2023-04-11)
controllers\profiles.js (19184, 2023-04-11)
controllers\projects.js (25489, 2023-04-11)
controllers\puzzles.js (18824, 2023-04-11)
controllers\reports.js (12826, 2023-04-11)
controllers\shop.js (53211, 2023-04-11)
controllers\tutoringCenter.js (55728, 2023-04-11)
controllers\wHeights.js (6411, 2023-04-11)
joiValidation (0, 2023-04-11)
joiValidation\announcement.js (746, 2023-04-11)
joiValidation\chat.js (1144, 2023-04-11)
joiValidation\course.js (631, 2023-04-11)
joiValidation\extensions.js (740, 2023-04-11)
joiValidation\message.js (1107, 2023-04-11)
joiValidation\project.js (752, 2023-04-11)
joiValidation\user.js (4677, 2023-04-11)
middleware (0, 2023-04-11)
middleware\index.js (10506, 2023-04-11)
middleware\multer.js (745, 2023-04-11)
middleware\validation.js (2294, 2023-04-11)
models (0, 2023-04-11)
models\admin (0, 2023-04-11)
models\admin\email.js (238, 2023-04-11)
... ...

# Saberchat PLATFORM LINKS ----------------------------------------- - https://saberchat.net/ - https://idot.saberchat.net/ - https://aapa.saberchat.net/ TABLE OF DIRECTORY CONTENTS ----------------------------------------- - App: Website's main file, implements all routes and libraries - Controllers: Server logic files that are used in the callbacks of routes - JoiValidation: schema for form validation - Middleware: express middleware for permissions, uploads and form validation - Models: Mongoose DB models for collection schema - Procfile: Tells Heroku what command to call on app start (Deprecated) - Public: Contains All Front-End CSS, JS and Static Display Images - Routes: Server routes, accessed in app.js - Services: Configurations for libraries and APIs such as image uploads and email sending - Socket: Controls callback for real-time socket.io calls - Utils: Functions used platform-wide in both controllers and EJS logic - Views: EJS files of front end code for all pages NPM LIBRARIES =================================== - Axios: Facilitates JSON requests and responses. Saberchat currently uses it for email sending with SendGrid - Bad-Words: Filters and censors any explicit text - Body-Parser: Parses headers and data from HTML form bodies - Cloudinary: Online platform which stores our uploaded media. Saberchat connects to it via an API and uploads images that are processed with Multer - Connect-Flash: Flashes success and error messages on screen - DataURI: Converts media uploads into buffers in preparation for Multer processing - DateFormat: Provides an easy way to format and display dates and times - Dotenv: Allows server to access environmental variables, the contents of the .env - EditorJS: Text and content formatting, used for articles - EJS: View engine that is used for all front-end files. Combines JavaScript logic with HTML markup to build platform based on data sent from the server - Express: Node.js framework that is used for all routes and request-response systems. The backbone of our server - Express-Mongo-Sanitize: Handles and sanitizes user data from server to MongoDB database - Express-Session: Platform for cookie storage and security - Fillers: Stores all filler words, used to build the Keyword Filter - Helmet: Used for security purposes, to moderate valid data sources for different media and content formats - Joi: Form validation package. Develops schema that are used to validate form data with the Sanitize-HTML package - MemoryStore: Stores records of express sessions - Method-Override: Allows forms to send PUT and DELETE requests - Mongoose: Connects server to MongoDB database - Multer: Processes uploaded media from files to a format that can be uploaded and stored in cloudinary - Nodemon: Used by developers to automatically restart server when any backend code is updated - Node-Schedule: Used to schedule certain tasks that the server performs without user involvement - Passport: Used to authenticate users for logging in and registering accounts - Passport-Local-Mongoose: Used to combine user data with passport authentication to log in users - Passport.Socketio: Validating user information for real-time actions with socket.io - Sanitize-HTML: Used in conjunction with Joi schema to validate form data - Serve-Favicon: Used to send favicons from backend storage to EJS pages - Socket.io: Module for real-time activity including shop orders and chat messages

近期下载者

相关文件


收藏者