{"id":22970399,"url":"https://github.com/mainageorge/node-express-api","last_synced_at":"2026-04-13T04:43:50.139Z","repository":{"id":54330306,"uuid":"522065822","full_name":"MainaGeorge/node-express-api","owner":"MainaGeorge","description":"This is an app to test building an api with nodejs and express framework The app uses mongodb for storing data. You need to set up the connection string to mongodb to use it. The app is a RESTful API CRUD operations on a model product with validations using Joi library and custom validation middlewares.","archived":false,"fork":false,"pushed_at":"2022-10-06T11:04:17.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T16:51:33.660Z","etag":null,"topics":["cors","express","expressjs","joi","joi-validator-schema","jwt-authentication","jwt-bearer-tokens","model-validation","mongodb","mongoose","nodejs","nodemon","promises-async-await","rest-api","restful-api"],"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/MainaGeorge.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}},"created_at":"2022-08-06T22:22:07.000Z","updated_at":"2022-08-16T06:59:10.000Z","dependencies_parsed_at":"2023-01-19T09:35:15.375Z","dependency_job_id":null,"html_url":"https://github.com/MainaGeorge/node-express-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MainaGeorge/node-express-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fnode-express-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fnode-express-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fnode-express-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fnode-express-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MainaGeorge","download_url":"https://codeload.github.com/MainaGeorge/node-express-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fnode-express-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273695212,"owners_count":25151481,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cors","express","expressjs","joi","joi-validator-schema","jwt-authentication","jwt-bearer-tokens","model-validation","mongodb","mongoose","nodejs","nodemon","promises-async-await","rest-api","restful-api"],"created_at":"2024-12-14T22:13:11.110Z","updated_at":"2026-04-13T04:43:45.103Z","avatar_url":"https://github.com/MainaGeorge.png","language":"JavaScript","readme":"# node-express-api\nThis is an app to test building an api with nodejs and express framework\nThe app uses mongodb for storing data. You need to set up the connection string to mongodb to use it.\nThe app is a RESTful API CRUD operations on a model product with validations using Joi library and custom validation middlewares.\n\nannonymous user can list out the products from the database\nannonymous user can get a product by id\nlogged in user can update or delete products\nlogged in user can see a list of all other users\n\nYou have to create a config file called .env at the root of the project. The file should hold the values:\nPORT=port number you wish to run the api on\nCONNECTION_STRING=\"mongodb connection string\"\nAPI_VERSION=\"/api/v1\"\nAPP_SECRET=\"YOUR SECURE SECRET HERE\"\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainageorge%2Fnode-express-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainageorge%2Fnode-express-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainageorge%2Fnode-express-api/lists"}