{"id":15209063,"url":"https://github.com/shashank2203malik/trek-king","last_synced_at":"2026-01-24T22:33:07.887Z","repository":{"id":253424836,"uuid":"837160941","full_name":"shashank2203malik/Trek-King","owner":"shashank2203malik","description":"A full stack web application to review and create treks with basic user authentication.","archived":false,"fork":false,"pushed_at":"2024-08-18T11:41:27.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T01:32:06.009Z","etag":null,"topics":["bootstrap","css","ejs","expressjs","javascript","maptiler","mongodb","nodejs","passportjs"],"latest_commit_sha":null,"homepage":"https://trek-king.onrender.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/shashank2203malik.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":"2024-08-02T10:45:19.000Z","updated_at":"2024-08-18T11:41:30.000Z","dependencies_parsed_at":"2024-10-12T00:05:48.180Z","dependency_job_id":"775286f8-9080-493e-a46d-50577500f4cb","html_url":"https://github.com/shashank2203malik/Trek-King","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.40740740740740744","last_synced_commit":"cf8106cf8c18d3ad10a623da8d5e19cb5f9bd2ca"},"previous_names":["shashank2203malik/trek-king"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashank2203malik%2FTrek-King","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashank2203malik%2FTrek-King/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashank2203malik%2FTrek-King/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashank2203malik%2FTrek-King/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shashank2203malik","download_url":"https://codeload.github.com/shashank2203malik/Trek-King/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238825780,"owners_count":19537125,"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":["bootstrap","css","ejs","expressjs","javascript","maptiler","mongodb","nodejs","passportjs"],"created_at":"2024-09-28T07:21:05.510Z","updated_at":"2025-10-29T12:31:44.900Z","avatar_url":"https://github.com/shashank2203malik.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trek-King\n\nMy first full-stack web application. Essentially, it is a review website for Treks in India. The core features included are login and sign-up for user authentication, Maptiler Maps API for implementing a cluster map to make it more user-friendly and intuitive , and (CRUD) functionality for creating a new trek and/or reviewing treks made by other authors. The basic foundation of this project was built from the web course 'The Web Developer Bootcamp' by Colt Steele.\n\n## Features\n\n- Users can sign-up/login to use various features like creating, editing, and deleting treks\n- Users can leave rating and reviews treks, and edit/delete their reviews\n- Authors can only delete treks and reviews created by them.\n- Users can use cluster map to pinpoint and view a particular trek\n\n## Demo\n\n##### Landing/Home page and using cluster map to pinpoint a particular trek and view detailed data of that trek\n![landing page](https://github.com/user-attachments/assets/04e7af55-c8aa-47a0-9899-ae093cc406e0)\n##### User authentication via login page to create or comment on a trek\n![login](https://github.com/user-attachments/assets/b5adbc81-76c7-455f-b071-8911271bc781)\n##### Creating a new trek\n![new trek](https://github.com/user-attachments/assets/abcd1e0e-ab90-4780-8cbe-418186e9c3a5)\n##### Editing an already created trek\n![editing](https://github.com/user-attachments/assets/a9932dee-d0f3-4ae5-899d-345cd374e587)\n##### Ability to add new images and delete existing uploaded images\n![deleting images](https://github.com/user-attachments/assets/9604ee30-e20a-4caa-992a-8791fba7955a)\n##### Unable to delete a trek if the user is not the author (even if logged in)\n![Authorization](https://github.com/user-attachments/assets/3905fdc3-d245-46d3-a03c-d1b978c510ba)\n##### Ability to leave a review with rating and edit it\n![review](https://github.com/user-attachments/assets/a46ff4c0-55ba-4741-874e-5f2d4114a929)\n\n## Learnings\n\n- First full-stack application to help me understand the integration of front-end with back-end\n- Introduction to Express.js in Node.js runtime environment\n- Introduction to MongoDB and the basic CRUD functionality. Basic introduction of pre and post hooks, and mongoose middleware\n- Introduction to EJS to render dynamic content with HTML and javascript\n- A very basic understanding of Error handling(Express error handling and handling async errors)\n- Introduction to session, cookies, and flash\n- Introduction to authentication and authorization using PassportJS\n- Gaining exposure to Cloudinary, Maptiler maps API, and Mongo Atlas\n- Optimizing app by learning about various security issues and implementing Helmet to mitigate some of those issues\n- Hosting app on Render to learn about deploying and environment variables during development and production\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank2203malik%2Ftrek-king","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashank2203malik%2Ftrek-king","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank2203malik%2Ftrek-king/lists"}