{"id":20280157,"url":"https://github.com/anmol-baranwal/coffee-compass","last_synced_at":"2025-07-08T12:41:25.026Z","repository":{"id":156616250,"uuid":"599766463","full_name":"Anmol-Baranwal/Coffee-Compass","owner":"Anmol-Baranwal","description":"✨ Find nearby coffee shops using your location. Modern APIs with an Airtable database is used.","archived":false,"fork":false,"pushed_at":"2024-05-10T16:47:46.000Z","size":1146,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T04:05:43.455Z","etag":null,"topics":["airtable","coffee","coffee-shop","database","es-lint","foursquare-api","markdown","nextjs","rendering","unsplash-api","use-swr","vercel-deployment"],"latest_commit_sha":null,"homepage":"http://coffeecompass.anmolbaranwal.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anmol-Baranwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-09T20:49:07.000Z","updated_at":"2025-04-01T20:10:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2909c59a-da10-405e-96cf-f85e96421889","html_url":"https://github.com/Anmol-Baranwal/Coffee-Compass","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/Anmol-Baranwal%2FCoffee-Compass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anmol-Baranwal%2FCoffee-Compass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anmol-Baranwal%2FCoffee-Compass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anmol-Baranwal%2FCoffee-Compass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anmol-Baranwal","download_url":"https://codeload.github.com/Anmol-Baranwal/Coffee-Compass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248357752,"owners_count":21090400,"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":["airtable","coffee","coffee-shop","database","es-lint","foursquare-api","markdown","nextjs","rendering","unsplash-api","use-swr","vercel-deployment"],"created_at":"2024-11-14T13:34:33.959Z","updated_at":"2025-04-11T06:35:04.099Z","avatar_url":"https://github.com/Anmol-Baranwal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffee Compass\n\nUsers can search for coffee shops and upvote them for others to see. The project also features an Airtable database that makes it easier to access and manage the information. \n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n\u003chr\u003e\n\n## :fire: Deployed Link ##\n\nThis project is hosted on [Vercel Platform](https://vercel.com/). Visit the following link to view the web application.\n\n```\nhttps://coffee-project-anmol-baranwal.vercel.app/\n```\n\u003chr\u003e\n\n## ✅ Guidelines to run web app locally\n\n- For this app to work, you need to configure the following environment variables in your .env file in the root directory.\n\n```\nNEXT_PUBLIC_FOURSQUARE_PLACES_API_KEY=\u003cvalue\u003e\nNEXT_PUBLIC_UNSPLASH_ACCESS_API_KEY=\u003cvalue\u003e\nNEXT_PUBLIC_UNSPLASH_SECRET_API_KEY=\u003cvalue\u003e\nAIRTABLE_WEB_API_KEY=\u003cvalue\u003e\nAIRTABLE_BASE_KEY=\u003cvalue\u003e\n```\n\n- Use these commands to run the application\n\n```bash\n# to install dependencies \nnpm install\n\n# to run the server\nnpm run dev\n\n```\n\n- Open `http://localhost:3000` with your browser to see the application.\n\n\u003cbr\u003e\n\n## 🚀 Complex Features\n\n- Employed serverless functions to generate API responses, allowing for efficient and scalable data retrieval.\n\n- Utilized useSWR to effectively fetch data from an Airtable database, streamlining the data fetching process.\n- Implemented both client side rendering and server side rendering with useContext, resulting in a seamless and user-friendly experience.\n- Employed various cutting-edge techniques, including lazy loading, preloading, and lighthouse, to optimize website performance.\n- Ensured the highest level of code quality and error detection by using lint, resulting in a flawless end product.\n\n## \u003cimg src=\"https://user-images.githubusercontent.com/74038190/221857984-5bf77e81-6f65-4502-a7c8-f29a978efb3f.png\" alt=\"bullseye\" width=\"35\" /\u003e Frameworks \u0026 Tools\n\u003cimg src=\"https://img.shields.io/badge/next.js-000000?style=for-the-badge\u0026logo=nextdotjs\u0026logoColor=white\" /\u003e \u003cimg src=\"https://img.shields.io/badge/JavaScript-323330?style=for-the-badge\u0026logo=javascript\u0026logoColor=F7DF1E\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Airtable-18BFFF?style=for-the-badge\u0026logo=Airtable\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge\u0026logo=Postman\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/GIT-E44C30?style=for-the-badge\u0026logo=git\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge\u0026logo=css3\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/npm-CB3837?style=for-the-badge\u0026logo=npm\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white\" /\u003e\n\n\u003chr\u003e\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanmol-baranwal%2Fcoffee-compass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanmol-baranwal%2Fcoffee-compass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanmol-baranwal%2Fcoffee-compass/lists"}