{"id":23532515,"url":"https://github.com/fhasnur/contact-directory","last_synced_at":"2026-05-07T13:07:44.720Z","repository":{"id":234253882,"uuid":"788520427","full_name":"fhasnur/contact-directory","owner":"fhasnur","description":"📱Contact Directory, simple RESTful API for managing contacts. It allows users to store and retrieve contact information easily.","archived":false,"fork":false,"pushed_at":"2024-05-06T15:42:05.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T16:18:47.615Z","etag":null,"topics":["mysql","nodejs","prisma","restful-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fhasnur.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,"zenodo":null}},"created_at":"2024-04-18T15:19:01.000Z","updated_at":"2024-08-07T21:52:59.000Z","dependencies_parsed_at":"2024-05-06T16:29:31.921Z","dependency_job_id":null,"html_url":"https://github.com/fhasnur/contact-directory","commit_stats":null,"previous_names":["fhasnur/contact-directory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Fcontact-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Fcontact-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Fcontact-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhasnur%2Fcontact-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhasnur","download_url":"https://codeload.github.com/fhasnur/contact-directory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254179900,"owners_count":22027884,"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":["mysql","nodejs","prisma","restful-api","typescript"],"created_at":"2024-12-25T23:11:26.365Z","updated_at":"2025-10-10T09:33:24.413Z","avatar_url":"https://github.com/fhasnur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contact Directory\n\n### How to Run Locally\n\n1. **Install Node.js and MySQL**:\n   - If you haven't already, install Node.js and MySQL on your local machine. You can find installation instructions on their official websites:\n     - [Node.js](https://nodejs.org/)\n     - [MySQL](https://www.mysql.com/)\n\n2. **Clone this repository to your local machine**:\n\n3. **Set Up Environment Variables**:\n   - In the root directory of the project, rename the `.env.example` file to `.env` and set the following environment variable:\n     ```js\n     DATABASE_URL=\"mysql://root:@localhost:3306/contact_directory\"\n     ```\n\n4. **Install Dependencies**:\n     ```\n     npm install\n     ```\n\n5. **Run Prisma Migrations**:\n     ```\n     npx prisma migrate dev\n     ```\n\n6. **Generate Prisma Client**:\n     ```\n     npx prisma generate\n     ```\n\n7. **Execute Build Script**:\n     ```\n     npm run build\n     ```\n\n8. **Start the API Server**:\n     ```\n     npm run start\n     ```\n\n9. **Access the API**:\n   - The API should now be running locally at `http://localhost:3000`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhasnur%2Fcontact-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhasnur%2Fcontact-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhasnur%2Fcontact-directory/lists"}