{"id":26292234,"url":"https://github.com/jalonghurst/motivationalquotesapi","last_synced_at":"2026-04-14T10:33:13.387Z","repository":{"id":230041855,"uuid":"532196432","full_name":"jalonghurst/MotivationalQuotesAPI","owner":"jalonghurst","description":"A simple API full stack app with JSON endpoint generating motivational quotes. Using node and express to create a back end server, ejs for templating engine to serve up HTML, and mongodb for the database. Client side JavaScript enables creation of HTTP requests that interact with the database.","archived":false,"fork":false,"pushed_at":"2023-01-01T16:55:39.000Z","size":1115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T23:08:28.864Z","etag":null,"topics":["crud-application","express-js","express-middleware","javascript","json-api","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"https://motivational-quotes-api-yb79.onrender.com/api","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/jalonghurst.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}},"created_at":"2022-09-03T08:05:35.000Z","updated_at":"2022-12-31T03:31:21.000Z","dependencies_parsed_at":"2024-03-27T14:55:19.313Z","dependency_job_id":"bc3d5697-1eea-4e89-8986-960b0d0e56d3","html_url":"https://github.com/jalonghurst/MotivationalQuotesAPI","commit_stats":null,"previous_names":["jalonghurst/motivationalquotesapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jalonghurst/MotivationalQuotesAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalonghurst%2FMotivationalQuotesAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalonghurst%2FMotivationalQuotesAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalonghurst%2FMotivationalQuotesAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalonghurst%2FMotivationalQuotesAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jalonghurst","download_url":"https://codeload.github.com/jalonghurst/MotivationalQuotesAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalonghurst%2FMotivationalQuotesAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["crud-application","express-js","express-middleware","javascript","json-api","mongodb","nodejs"],"created_at":"2025-03-15T01:35:09.774Z","updated_at":"2026-04-14T10:33:13.370Z","avatar_url":"https://github.com/jalonghurst.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About this API\nThis fullstack app features an interface to interact with the database using HTTP requests made through clientside JavaScript to GET, POST, UPDATE and DELETE the motivational quotes in the collection.\n\nNew quotes can be created submitting data for the quote, author and genre.\n\n **Link To Project:** https://motivational-quotes-api-yb79.onrender.com/api\n\n A random quote from the  database can be generated using the link below.\n\n## How It's Made: \nThis CRUD API started as a node backend server working with raw and hardcoded JSON data with an endpoint displaying a random quote. Express.js was then incorportated to  simplify the process of writing server side JavaScript, HTTP requests and to improve readability, and EJS set up as the templating engine rendering HTML. MongoDB was finally connected to this application, and has replaced the raw JSON data and updated the endpoint to get data from the collection containing quotes(documents) stored on the database. \n\n**Link To Generate A Random Quote:** https://motivational-quotes-api-yb79.onrender.com/api/random\n\nGenerate a random document from the quotes collection in MongoDB database, the GET response is in JSON format. Each document contains {id: author: quote: genre:} key-value pairs.\n\n![Screen capture](/public/screencapture-motivational-quotes-api.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalonghurst%2Fmotivationalquotesapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjalonghurst%2Fmotivationalquotesapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalonghurst%2Fmotivationalquotesapi/lists"}