{"id":22076544,"url":"https://github.com/codecademy/deploying-postgres-backend-with-heroku","last_synced_at":"2025-09-05T16:33:13.404Z","repository":{"id":131259173,"uuid":"391196859","full_name":"Codecademy/deploying-postgres-backend-with-heroku","owner":"Codecademy","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-30T22:07:38.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-08-09T22:41:09.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Codecademy.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":"2021-07-30T22:05:23.000Z","updated_at":"2023-03-18T15:51:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cea458d-6ff2-4a0e-af60-8b0b98455330","html_url":"https://github.com/Codecademy/deploying-postgres-backend-with-heroku","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Codecademy/deploying-postgres-backend-with-heroku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codecademy%2Fdeploying-postgres-backend-with-heroku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codecademy%2Fdeploying-postgres-backend-with-heroku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codecademy%2Fdeploying-postgres-backend-with-heroku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codecademy%2Fdeploying-postgres-backend-with-heroku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codecademy","download_url":"https://codeload.github.com/Codecademy/deploying-postgres-backend-with-heroku/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codecademy%2Fdeploying-postgres-backend-with-heroku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270807934,"owners_count":24649346,"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-08-17T02:00:09.016Z","response_time":129,"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":[],"created_at":"2024-11-30T22:15:06.751Z","updated_at":"2025-08-17T05:05:29.766Z","avatar_url":"https://github.com/Codecademy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codecademy-user-directory-api\nNode/Express/PostgreSQL REST API to provide basic functionality of a user directory.  Users can add new users to the directory, modify existing users, delete users, and view users.\n\n## Running the app\nTo run locally, `npm install`, then `npm run start`.\n\nThis project requires a [PostgreSQL](https://www.postgresql.org/) database to be running locally.  Reference the ERD diagram located in the `resources` folder of this repo to view the structure of the tables.  You can use [pgAdmin](https://www.pgadmin.org/) to interact with the database manually. \n\nThis repo includes an `example.env` file that contains important environment variables for reference.  Make sure to create a `.env` file and include all variables found in the `example.env` file, replacing the example values with those specific to your environment/needs.\n\nOnce the app is running locally, you can access the API at `http://localhost:\u003cyour-port\u003e`\n\n## Testing\nSwagger documentation available at `http://localhost:\u003cyour-port\u003e/docs`\n\nYou can use various HTTP clients such as [Postman](https://www.postman.com/) or [Insomnia](https://insomnia.rest/) to make requests to the API endpoints.\n\n## Resources\n- [REST Architecture](https://www.codecademy.com/articles/what-is-rest)\n- [Setting up Postman](https://learning.postman.com/docs/getting-started/settings/)\n- [Using pgAdmin](https://www.pgadmin.org/docs/pgadmin4/development/getting_started.html)\n- [Postgres Cheat Sheet](https://www.postgresqltutorial.com/postgresql-cheat-sheet/)\n- [Heroku Postgres](https://devcenter.heroku.com/articles/heroku-postgresql)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecademy%2Fdeploying-postgres-backend-with-heroku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecademy%2Fdeploying-postgres-backend-with-heroku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecademy%2Fdeploying-postgres-backend-with-heroku/lists"}