{"id":21011279,"url":"https://github.com/andrase/secrets","last_synced_at":"2026-04-11T12:42:58.913Z","repository":{"id":45587641,"uuid":"389421414","full_name":"AndrasE/secrets","owner":"AndrasE","description":"EJS webapp with MongoDb database \u0026 OAuth options with Express (session) cookies","archived":false,"fork":false,"pushed_at":"2024-10-19T07:38:43.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T11:22:11.942Z","etag":null,"topics":["authentication","ejs","express","hammerjs","mongodb","mongoose","passport","sessions"],"latest_commit_sha":null,"homepage":"https://app-secret.herokuapp.com/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrasE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-25T19:02:16.000Z","updated_at":"2024-10-19T07:38:46.000Z","dependencies_parsed_at":"2024-11-19T09:35:43.367Z","dependency_job_id":"64cff1fc-854d-4c2b-9555-1e50ecb2522f","html_url":"https://github.com/AndrasE/secrets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrasE%2Fsecrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrasE%2Fsecrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrasE%2Fsecrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrasE%2Fsecrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrasE","download_url":"https://codeload.github.com/AndrasE/secrets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243438003,"owners_count":20290863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","ejs","express","hammerjs","mongodb","mongoose","passport","sessions"],"created_at":"2024-11-19T09:27:27.940Z","updated_at":"2025-10-27T11:20:51.109Z","avatar_url":"https://github.com/AndrasE.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca width=\"300px\"\u003e\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://app-secret.herokuapp.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n  \u003cimg src=\"https://github.com/AndrasE/raw-readme/blob/e0ba0d38fc6f2bb201983bbc4986e59f1ae946f2/logo/secrets-readme-img.png\" width=\"180px\"\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\n  EJS webapp with MongoDb database \u0026 OAuth options with Express (session) cookies\n\u003c/h3\u003e\n\u003c/div\u003e\n\n## Hello there 👋\n\nDuring my final stages of self-study on Udemy, I was intrigued to push a particular project further—one that involved **[MongoDB](https://www.mongodb.com/)**, **[Express](https://www.npmjs.com/package/express-session)**, and **[EJS](https://ejs.co/)**. Originally, it was a simple CRUD application using MongoDB for the back-end and EJS for the front-end **[original project](https://github.com/AndrasE/secret-original\")**. However, I made significant enhancements, adding user authentication with session cookies to ensure users could interact only with their own content while still being able to view other users' posts. Once authenticated, users remain logged in unless the cookie expires or the browser is closed.\n\nTo elevate the project further, I incorporated animations, themes, SVGs, and a dynamic navigation bar with swipe functionality using Hammer.js. These additions brought the app to life and improved user engagement. After sharing the project link in a study group, I was excited to see many \"secrets\" being posted, which highlighted the interactive nature of the app.\n\nOverall, I am proud of the outcome - not only for the technical achievements but also for how it resonated with users. You can read a detailed report and learn more about the challenges I faced in the \"About\" or \"Read More\" sections of the app. Deployed on Heroku's eco-dyno, please note that it may take a few seconds for the server to wake up.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/AndrasE/raw-readme/blob/c54d6a4c1f9c2f4b212235584ec55fdf695b0a95/thumbs/secrets_1.png\" width=\"220\"\u003e\n\u003cimg src=\"https://github.com/AndrasE/raw-readme/blob/c54d6a4c1f9c2f4b212235584ec55fdf695b0a95/thumbs/secrets_2.png\" width=\"220\"\u003e\n\u003cimg src=\"https://github.com/AndrasE/raw-readme/blob/c54d6a4c1f9c2f4b212235584ec55fdf695b0a95/thumbs/secrets_3.png\" width=\"220\"\u003e\n\u003c/div\u003e\n\n### Key Features\n\n- **Authentication** - User authentication with session cookies, allowing personalized content management. Includes Signup, Login, Signout, and the option to delete the account.\n- **Content Management** - CRUD operations with MongoDB, enabling users to share and view posts securely.\n- **Dynamic UI \u0026 Navigation** - Enhanced user interface with animations, themes, and SVGs, plus swipe functionality via **[hammer.js](https://hammerjs.github.io/)**.\n- **User Engagement** - Seamless navigation with a dynamic navbar and responsive design to improve user interaction.\n\n## Run 🚀\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\nStart with cloning this repo on your local machine via cli or github-desktop:\n\n`\n$ git clone https://github.com/AndrasE/secrets\n$ cd PROJECTNAME\n`\n\nTo install and set up the library, run:\n\n`\n$ npm install -S myLib\n`\n\nOr if you prefer using Yarn:\n\n`\n$ yarn add --dev myLib\n`\n\nAdd your own credentials:\n\n`\nadd own credentials or .env\nsetup own google and facebook Apis\n`\n\nServing the app:\n\n`\n$ npm start\n`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrase%2Fsecrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrase%2Fsecrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrase%2Fsecrets/lists"}