QueenCityCollective

所属分类:collect
开发工具:EJS
文件大小:0KB
下载次数:0
上传日期:2023-08-21 20:14:49
上 传 者sh-1993
说明:  no intro
(Code for the sports news blog website known as The Queen City Collective.)

文件列表:
.vscode/ (0, 2023-09-06)
.vscode/c_cpp_properties.json (339, 2023-09-06)
.vscode/launch.json (669, 2023-09-06)
.vscode/settings.json (867, 2023-09-06)
package-lock.json (277676, 2023-09-06)
package.json (970, 2023-09-06)
passport-config.js (4727, 2023-09-06)
public/ (0, 2023-09-06)
public/Logos/ (0, 2023-09-06)
public/Logos/CharlotteFC.png (638458, 2023-09-06)
public/Logos/Hornets.png (195329, 2023-09-06)
public/Logos/Panthers.png (445802, 2023-09-06)
public/Logos/Q-Cropped-Hornets.png (158819, 2023-09-06)
public/Logos/Q-Cropped-Panthers.png (396448, 2023-09-06)
public/Logos/QCC Hornets Transparent.png (12795, 2023-09-06)
public/Logos/QCC Logo with Outline.png (71589, 2023-09-06)
public/Logos/QCC Transparent.png (28651, 2023-09-06)
public/Logos/spotify.png (12693, 2023-09-06)
public/Logos/twitter.png (76781, 2023-09-06)
public/aaFunctions.js (750, 2023-09-06)
public/adminFunctions.js (1828, 2023-09-06)
public/css/ (0, 2023-09-06)
public/css/admin.css (4736, 2023-09-06)
public/css/logReg.css (4955, 2023-09-06)
public/css/styles.css (9428, 2023-09-06)
public/functions.js (2024, 2023-09-06)
public/logRegFunctions.js (909, 2023-09-06)
routes/ (0, 2023-09-06)
routes/admin.js (4810, 2023-09-06)
routes/articles.js (5390, 2023-09-06)
routes/auth.js (5250, 2023-09-06)
server.js (1849, 2023-09-06)
utils/ (0, 2023-09-06)
utils/email/ (0, 2023-09-06)
utils/email/sendEmail.js (1277, 2023-09-06)
utils/email/template/ (0, 2023-09-06)
utils/email/template/requestResetPassword.handlebars (467, 2023-09-06)
utils/email/template/resetPassword.handlebars (177, 2023-09-06)
views/ (0, 2023-09-06)
... ...

The Queen City Collective is a sports news/blog representing the thoughts of my friend and I for Charlotte based professional sports teams. The thoughts and ideas presented in any articles hosted on this site are ours and ours alone, and we are not currently affiliated with the Carolina Panthers, Charlotte Hornets, Charlotte Football Club, or any other team/organization that may be mentioned. There will be no talk of betting, gambling, or fantasy sports anywhere throughout this site, and we are not professionals in any of those areas, so do not consider anything said to be advice. This site was a personal project of mine to work on my full-stack development skills as well as to have an outlet for my thoughts on professional sports. It makes use of HTML, CSS, and JavaScript of course, but it also makes use of the NodeJS framework Express and Passport for backend support and authentication. In addition, EJS (Embedded JavaScript) is used for the view engine, which made templating the different views and displaying information a simple process. The database of choice is the popular noSQL variant, MongoDB, which contains the information pertaining to articles and user profiles. Articles are managed within the admin panel on the website, and cannot be created/updated/deleted without accessing the database directly or by visiting the admin panel with the correct profile credentials. Articles themselves are written in markdown and are converted to HTML when viewed in their pages. The markdown editor used is [Marked](https://github.com/markedjs/marked), and the markdown is sanitized with [DOMPurify](https://github.com/cure53/DOMPurify). Login and registration is available to the user through the site itself, or through multiple social media paths, which are Facebook, Google, and X (formerly Twitter). Usernames and passwords (or the references to the social media providers) are stored within the database, with passwords being hashed before being stored. Password hashing is done with the fantastic package known as [bcrypt](https://www.npmjs.com/package/bcrypt). At the time of writing this, X's oauth implementation was not interacting with passport properly, so I made use of [superfaceai's Passport Twitter Strategy](https://github.com/superfaceai/passport-twitter-oauth2).

近期下载者

相关文件


收藏者