{"id":13548225,"url":"https://github.com/autumnchris/url-shortener-api","last_synced_at":"2026-02-23T20:11:15.310Z","repository":{"id":126828679,"uuid":"152154962","full_name":"autumnchris/url-shortener-api","owner":"autumnchris","description":"An Express.js API that takes a submitted URL and creates an alias URL that, if navigated to, will redirect to the original URL.","archived":false,"fork":false,"pushed_at":"2025-02-26T23:23:28.000Z","size":338,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:47:36.374Z","etag":null,"topics":["api","css3","ejs","ejs-express","express","expressjs","freecodecamp","javascript","mongodb","mongoose","mongoosejs","nodejs","url-shortener"],"latest_commit_sha":null,"homepage":"https://autumnchris-url-shortener-api.onrender.com/api","language":"CSS","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/autumnchris.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":"2018-10-08T22:31:56.000Z","updated_at":"2025-02-26T23:23:31.000Z","dependencies_parsed_at":"2025-02-02T04:21:02.750Z","dependency_job_id":"cdf4e765-f142-422e-96ad-d59090afe90d","html_url":"https://github.com/autumnchris/url-shortener-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autumnchris%2Furl-shortener-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autumnchris%2Furl-shortener-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autumnchris%2Furl-shortener-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autumnchris%2Furl-shortener-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autumnchris","download_url":"https://codeload.github.com/autumnchris/url-shortener-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248231593,"owners_count":21069360,"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":["api","css3","ejs","ejs-express","express","expressjs","freecodecamp","javascript","mongodb","mongoose","mongoosejs","nodejs","url-shortener"],"created_at":"2024-08-01T12:01:07.532Z","updated_at":"2026-02-23T20:11:10.284Z","avatar_url":"https://github.com/autumnchris.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# URL Shortener API\n\nAn Express.js API that takes a submitted URL and creates an alias URL that, if navigated to, will redirect to the original URL.\n\nInspired by the [URL Shortener Microservice challenge](https://learn.freecodecamp.org/apis-and-microservices/apis-and-microservices-projects/url-shortener-microservice) as part of the curriculum for the [Back End Development and APIs Certification](https://www.freecodecamp.org/learn/back-end-development-and-apis) on [freeCodeCamp](https://www.freecodecamp.org).\n\n---\n\n## Built With\n* [Express.js](https://expressjs.com)\n* [Node.js](https://nodejs.org/en)\n* [Mongoose](https://mongoosejs.com)\n* [MongoDB](https://www.mongodb.com)\n* [EJS](https://ejs.co)\n* HTML5\n* CSS3\n* JavaScript\n* Vanilla JS\n* [randomstring](https://github.com/klughammer/node-randomstring)\n* [valid-url](https://github.com/ogt/valid-url)\n* [dotenv](https://github.com/motdotla/dotenv)\n* [Normalize.css](https://necolas.github.io/normalize.css)\n* [Google Fonts](https://fonts.google.com)\n* [FontAwesome](https://fontawesome.com)\n* [nodemon](https://nodemon.io)\n\n## Demo\n\nView project demo at [https://autumnchris-url-shortener-api.onrender.com/api](https://autumnchris-url-shortener-api.onrender.com/api).\n\n## Instructions\n\nAfter forking and cloning, navigate to the repository in your command line and install the NPM packages:\n```\nnpm install\n```\n\nCreate a `.env` file in the root of the repository and add the following environment variables:\n```\nMONGO_URI=\u003cyour-mongodb-uri\u003e\n```\n\nRun the following script in your command line if starting the repository in development mode:\n```\nnpm run dev\n```\n\nRun the following script in your command line if starting the repository in production mode:\n```\nnpm start\n```\n\nOnce the server is running, go to `http://localhost:3000` in your browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautumnchris%2Furl-shortener-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautumnchris%2Furl-shortener-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautumnchris%2Furl-shortener-api/lists"}