{"id":19399538,"url":"https://github.com/5hraddha/around-express","last_synced_at":"2026-04-28T16:02:16.017Z","repository":{"id":107170632,"uuid":"445029890","full_name":"5hraddha/around-express","owner":"5hraddha","description":"Around the U.S. - Back End is a project to create a Node.js server with REST API endpoints to serve all the data requests of the Around the U.S. - Frontend React Project.","archived":false,"fork":false,"pushed_at":"2022-02-01T00:55:41.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T16:35:05.462Z","etag":null,"topics":["airbnb-eslint","api","backend","eslint","express","nodejs","nodejs-server"],"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/5hraddha.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":"2022-01-06T03:38:40.000Z","updated_at":"2022-01-07T19:47:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"e065f2ab-5ef9-4807-bbbb-3cfb757afacc","html_url":"https://github.com/5hraddha/around-express","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/5hraddha/around-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hraddha%2Faround-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hraddha%2Faround-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hraddha%2Faround-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hraddha%2Faround-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5hraddha","download_url":"https://codeload.github.com/5hraddha/around-express/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5hraddha%2Faround-express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["airbnb-eslint","api","backend","eslint","express","nodejs","nodejs-server"],"created_at":"2024-11-10T11:09:58.550Z","updated_at":"2026-04-28T16:02:16.011Z","avatar_url":"https://github.com/5hraddha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- omit in toc --\u003e\n# Project: Around the U.S. Back End\n## About the Project\n**Around the U.S. - Back End** is a project to create a Node.js server with REST API endpoints to serve all the data requests of the [Around the U.S. - Frontend React Project](https://github.com/5hraddha/around-react). \n\n## Technologies and Standards Used\n**The technologies that have been used are:**\n1. Node.js\n2. Express Framework (for development)\n3. Postman (for testing API endpoints)\n4. EsLint\n5. MongoDB\n\n### ![node-icon](https://img.shields.io/badge/Node.js-339933?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=white)\n- **Node** (or more formally *Node.js*) is an *open-source*, *cross-platform* runtime environment that allows developers to create all kinds of server-side tools and applications in JavaScript. \n- *Node. js* is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. \n- It's used for traditional web sites and back-end API services.\n\n### ![express-icon](https://img.shields.io/badge/Express.js-000000?style=for-the-badge\u0026logo=express\u0026logoColor=white)\n- **Express** is the most popular Node web framework, and is the underlying library for a number of other popular Node web frameworks. \n- It provides mechanisms to:\n  - Write handlers for requests with different HTTP verbs at different URL paths (routes).\n  - Integrate with \"view\" rendering engines in order to generate responses by inserting data into templates.\n  - Set common web application settings like the port to use for connecting, and the location of templates that are used for rendering the response.\n  - Add additional request processing \"middleware\" at any point within the request handling pipeline.\n\n### ![postman-icon](https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge\u0026logo=Postman\u0026logoColor=white)\n- **Postman** is an API client that makes it easy for developers to create, share, test and document APIs. \n- This is done by allowing users to create and save simple and complex HTTP/s requests, as well as read their responses.\n\n### ![eslint-icon](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge\u0026logo=eslint\u0026logoColor=white)\n- **ESLint** is an open-source Javascript linting utility used to find problematic patterns or code that doesn’t adhere to certain style guidelines. \n- We are using [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript).\n\n### ![mongodb-icon](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white)\n- **MongoDB** is a document database with the scalability and flexibility that the customer wants with the querying and indexing that the customer needs.\n- MongoDB stores data in flexible, JSON-like documents.\n- The document model maps to the objects in the application code, making data easy to work with.\n- MongoDB is a distributed database at its core, so high availability, horizontal scaling, and geographic distribution are built in and easy to use.\n- MongoDB is free to use.\n\n## Directory Structures\nThe project has the following directory structure:  \n| Directory \t| Purpose \t|\n|---\t|---\t|\n| `/models` \t| Contains all MongoDB schemas and models - all data layers. \t|\n| `/routes` \t| Contains routing files. \t|\n| `/controllers` \t| Contains all the route handler callbacks. \t|\n| `/utils` \t| Contains all the helper methods for general purpose tasks. \t|\n\n## REST API Endpoints\n| HTTP Methods | REST API Endpoint      | Purpose                                |\n|--------------|------------------------|----------------------------------------|\n| `GET`        | `/users`               | Get JSON list of all the users         |\n| `GET`        | `/users/:userId`       | Get a specific user profile with an ID |\n| `POST`       | `/users`               | Create a specific user profile         |\n| `PATCH`      | `/users/me`            | Update the current user profile        |\n| `PATCH`      | `/users/me/avatar`     | Update the current user avatar         |\n| `GET`        | `/cards`               | Get JSON list of all the cards         |\n| `POST`       | `/cards`               | Create a new card                      |\n| `DELETE`     | `/cards/:cardId`       | Delete a card by the given ID          |\n| `PUT`        | `/cards/:cardId/likes` | Update a card by liking it             |\n| `DELETE`     | `/cards/:cardId/likes` | Delete a like on the card              |\n\n## Running the Project  \n| Command \t| Purpose \t|\n|---\t|---\t|\n| `npm run start` \t| To launch the server \t|\n| `npm run dev` \t| To launch the server with the hot reload feature \t|\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5hraddha%2Faround-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5hraddha%2Faround-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5hraddha%2Faround-express/lists"}