{"id":22559775,"url":"https://github.com/taurusilver7/pack-your-bags","last_synced_at":"2025-07-01T11:35:40.197Z","repository":{"id":181445553,"uuid":"537148758","full_name":"taurusilver7/pack-your-bags","owner":"taurusilver7","description":"a travel logging application powered by next js and sanity cms.","archived":false,"fork":false,"pushed_at":"2022-12-27T07:01:16.000Z","size":270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T12:36:00.780Z","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/taurusilver7.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}},"created_at":"2022-09-15T18:02:03.000Z","updated_at":"2022-09-15T18:02:36.000Z","dependencies_parsed_at":"2023-07-15T16:51:05.585Z","dependency_job_id":null,"html_url":"https://github.com/taurusilver7/pack-your-bags","commit_stats":null,"previous_names":["taurusilver7/pack-your-bags"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fpack-your-bags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fpack-your-bags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fpack-your-bags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fpack-your-bags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taurusilver7","download_url":"https://codeload.github.com/taurusilver7/pack-your-bags/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246026111,"owners_count":20711581,"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":[],"created_at":"2024-12-07T21:09:15.940Z","updated_at":"2025-03-28T12:12:20.341Z","avatar_url":"https://github.com/taurusilver7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pack Your Bags\n\n\u003e A [Next.js](https://nextjs.org/) travel logging project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) and sanity CMS.\n\n## Scripts\n\n```bash\nyarn create next-app@latest \u003capp_name\u003e\n# and\ncd \u003capp_name\u003e\n# and\nyarn dev\n#or\nyarn start\n```\n\nTo inititate the sanity local studio\n\n```bash\nnpm i @sanity/cli \u0026\u0026 sanity init --coupon \u003ccoupon_code\u003e\n# and\nsanity start (after bootstrapping \u0026 configuring a local studio project to handle the backend.)\n```\n\n## Build\n\nRefactor the starter template \u0026 initiate the local development server (http://localhost:3000) on your browser to see the result.\n\nConfigure the santiy studio schemas for the application backend. Create post, blockContent, author \u0026 category schemas \u0026 concat them to the local studio. The blockContent (body), category, author are references to post.\n\nInstall a [leaflet-input sanity plugin](https://www.sanity.io/plugins/sanity-plugin-leaflet-input), to allow the current location \u0026 map feature in the sanity studio. Create a few data posts on tours \u0026 travels.\n`sanity install leaflet-input`. The plugin creates a leaftlet config json file in the local studio to allow maps in the backend.\n\nCreate a navbar component to hold the tour list \u0026 project logo.\n\nCreate a server-side render instance to pull tour post data from sanity in the index page \u0026 populate them in Card component.\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\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%2Ftaurusilver7%2Fpack-your-bags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaurusilver7%2Fpack-your-bags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaurusilver7%2Fpack-your-bags/lists"}