{"id":21961548,"url":"https://github.com/tusho7/local-recommendations-api","last_synced_at":"2026-04-10T17:02:24.645Z","repository":{"id":247716474,"uuid":"823612586","full_name":"Tusho7/local-recommendations-api","owner":"Tusho7","description":"A robust API for a local recommendations platform, built with Node.js, Express, and PostgreSQL. This API handles user authentication, manages recommendations data with Sequelize ORM, and provides WebSocket support for real-time interactions.","archived":false,"fork":false,"pushed_at":"2024-07-10T06:11:06.000Z","size":1316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T00:27:10.475Z","etag":null,"topics":["cookie-parser","dotenv","express","jsonwebtoken","nodejs","nodemailer","pg","pg-hstore","sequelize","uuid","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Tusho7.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-07-03T11:15:02.000Z","updated_at":"2024-08-09T08:58:25.000Z","dependencies_parsed_at":"2024-07-10T08:02:41.503Z","dependency_job_id":"a6690700-f0ad-432d-870e-f9a71d3a6087","html_url":"https://github.com/Tusho7/local-recommendations-api","commit_stats":null,"previous_names":["tusho7/local-recommendations-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tusho7%2Flocal-recommendations-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tusho7%2Flocal-recommendations-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tusho7%2Flocal-recommendations-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tusho7%2Flocal-recommendations-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tusho7","download_url":"https://codeload.github.com/Tusho7/local-recommendations-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245016834,"owners_count":20547685,"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":["cookie-parser","dotenv","express","jsonwebtoken","nodejs","nodemailer","pg","pg-hstore","sequelize","uuid","websocket"],"created_at":"2024-11-29T10:16:24.716Z","updated_at":"2025-12-30T22:55:11.108Z","avatar_url":"https://github.com/Tusho7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Local Recommendation's Platform API\n\n### Table of Contents\n\n- [Prerequisites](#Prerequisites)\n- [Tech Stack](#Tech-Stack)\n- [Getting Started](#Getting-Started)\n- [Project Structure](#Project-Structure)\n\n#\n\n### Prerequisites\n\n- \u003cimg src=\"./readme/nodejs.png\" width=\"25\" style=\"top: 8px\" /\u003e Node JS @16.X and up\n- \u003cimg src=\"./readme/npm.png\" width=\"25\" style=\"top: 8px\" /\u003e npm @8 and up\n\n#\n\n### Tech Stack\n\n- \u003cimg src=\"./readme/bcrypt.jpeg\" width=\"25\" style=\"top: 8px\" /\u003e bcrypt @ 5.1.1 - Library for hashing passwords.\n- \u003cimg src=\"./readme/cookie-parser.png\" width=\"25\" style=\"top: 8px\" /\u003e cookie-parser @ 1.4.6 - Middleware for parsing cookies.\n- \u003cimg src=\"./readme/cors.png\" width=\"25\" style=\"top: 8px\" /\u003e cors @ 2.8.5 - Middleware for enabling CORS in Express.\n- \u003cimg src=\"./readme/dotenv.png\" width=\"25\" style=\"top: 8px\" /\u003e dotenv @ 16.4.5 - Zero-dependency module for loading environment variables.\n- \u003cimg src=\"./readme/express.png\" width=\"25\" style=\"top: 8px\" /\u003e express @ 4.19.2 - Web framework for Node.js.\n- \u003cimg src=\"./readme/jsonwebtoken.png\" width=\"25\" style=\"top: 8px\" /\u003e jsonwebtoken @ 9.0.2 - Library for generating JWTs.\n- \u003cimg src=\"./readme/nodemailer.webp\" width=\"25\" style=\"top: 8px\" /\u003e nodemailer @ 6.9.14 - Module for sending emails.\n- \u003cimg src=\"./readme/pg.webp\" width=\"25\" style=\"top: 8px\" /\u003e pg @ 8.12.0 - PostgreSQL client for Node.js.\n- \u003cimg src=\"./readme/pg.webp\" width=\"25\" style=\"top: 8px\" /\u003e pg-hstore @ 2.3.4 - Serializes and deserializes JSON data to hstore format for PostgreSQL.\n- \u003cimg src=\"./readme/sequelize.png\" width=\"25\" style=\"top: 8px\" /\u003e sequelize @ 6.37.3 - Promise-based ORM for Node.js.\n- \u003cimg src=\"./readme/uuid.png\" width=\"25\" style=\"top: 8px\" /\u003e uuid @ 10.0.0 - Generates UUIDs.\n- \u003cimg src=\"./readme/ws.jpg\" width=\"25\" style=\"top: 8px\" /\u003e ws @ 8.17.1 - Simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js\n\n#\n\n### Getting Started\n\n1. First of all you need to clone app repository from github:\n\n```\ngit clone https://github.com/your-username/local-recommendations-api.git\n```\n\n2. Next step requires install all dependencies.\n\n```\nnpm install\n```\n\n3. Also you need to create .env file where copy information from .env.example file\n\n```\nCreate a .env file based on the .env.example template.\nUpdate the variables with your PostgreSQL database connection URI and other configuration settings.\n```\n\n### Project Structure\n\n```\nsrc\n├── config          # Configuration files\n├── controllers     # Controller files\n├── middlewares     # Middleware functions\n├── models          # Database models\n├── routes          # Router files\n├── utils           # Utility functions\n└── server.js       # Main server file\n\n```\n\n### Config: Contains configuration files such as database connection setup.\n\n### Controllers: Handles business logic, interacting with models and returning responses.\n\n### Middlewares: Includes middleware functions for handling requests before they reach the routes.\n\n### Models: Defines data models using Sequelize for interacting with PostgreSQL.\n\n### Routes: Defines API routes and their corresponding controller methods.\n\n### Utils: Utility functions used across the application.\n\n### Server.js: Entry point file that initializes and starts the Express server.\n\nFeel free to adjust the sections and details according to your specific project setup and requirements. This README template provides a clear structure and instructions for setting up and understanding your Local Recommendation's Platform API project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusho7%2Flocal-recommendations-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftusho7%2Flocal-recommendations-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusho7%2Flocal-recommendations-api/lists"}