{"id":18361103,"url":"https://github.com/jorge79/my-trips","last_synced_at":"2026-04-29T23:32:01.713Z","repository":{"id":42567091,"uuid":"453903782","full_name":"Jorge79/my-trips","owner":"Jorge79","description":"A simple website to show pinned places that you went or you want to go.","archived":false,"fork":false,"pushed_at":"2022-04-15T04:16:46.000Z","size":2419,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T05:43:38.357Z","etag":null,"topics":["graphcms","graphql","leaflet","nextjs","react"],"latest_commit_sha":null,"homepage":"https://my-trips-woad.vercel.app/","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/Jorge79.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}},"created_at":"2022-01-31T06:36:56.000Z","updated_at":"2023-03-08T21:34:10.000Z","dependencies_parsed_at":"2022-09-09T12:12:11.478Z","dependency_job_id":null,"html_url":"https://github.com/Jorge79/my-trips","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jorge79/my-trips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorge79%2Fmy-trips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorge79%2Fmy-trips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorge79%2Fmy-trips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorge79%2Fmy-trips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jorge79","download_url":"https://codeload.github.com/Jorge79/my-trips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorge79%2Fmy-trips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["graphcms","graphql","leaflet","nextjs","react"],"created_at":"2024-11-05T22:31:46.352Z","updated_at":"2026-04-29T23:32:01.696Z","avatar_url":"https://github.com/Jorge79.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## My Trips\n\n\u003e A simple website to show pinned places that you went or you want to go\n\nTo see it in production access: [my-trips-woad.vercel.app](http://my-trips-woad.vercel.app)\n\u003cdiv style=\"display=flex; text-align:center;\"\u003e\n  \u003cimg src=\"public/img/about.png\" alt=\"about image\" style=\"width:49%;\"/\u003e\n  \u003cimg src=\"public/img/city.png\" alt=\"city's image\" style=\"width:49%;\"/\u003e\n  \u003cimg src=\"public/img/schema.png\" alt=\"schema's image\" style=\"width:60%;\"/\u003e\n\u003c/div\u003e\n\n## NextJs na Prática\n\nThis project is part of a course called [NextJS na Prática](https://nextjs.willianjusten.com.br/).\n\n## Getting Started (Creating your own version)\n\n### GraphCMS\n\nThis project uses [GraphCMS](https://graphcms.com/), so you need to create an account there first.\n\nAfter you need to create the Schema, just follow the steps:\n\n- Schema \u003e Add New Model with `Place` name\n- And add the following fields:\n  - `Single Line Text` as `name`\n  - `Slug` as `slug`\n  - `Map` as `location`\n  - `Rich Text` as `description`\n  - `Asset Picker` as `gallery`\n\n- Schema \u003e Add New Model with `Page` name\n- And add the following fields:\n  - `Single Line Text` as `heading`\n  - `Slug` as `slug`\n  - `Rich Text` as `body`\n\nAfter that, fill some values and don't forget to `publish`!\n\n#### Authentication\n\nIn order to create a token access, go to `Settings \u003e API Access`, inside this page, find `Permanent Auth Tokens`,\ncreate a Token Name and mark all queries possible. Save and get the token.\n\n### NextJS\n\nAfter creating your account on [GraphCMS](https://graphcms.com/) and following the steps above, you just need to create\nthe `.env.local` file (if you plan to run locally) and edit the keys there.\n\nWith all set, you can start the application with:\n\n```bash\n# Clone the repository to you machine:\n$ git clone https://github.com/Jorge79/my-trips.git\n\n# Choose the directory:\n$ cd my-trips\n\n# Install the dependencies:\n$ yarn\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## Commands\n\n- `dev`: runs your application on `localhost:3000`\n- `build`: creates the production build version\n- `start`: starts a simple server with the build production code\n- `lint`: runs the linter in all components and pages\n- `test`: runs jest to test all components and pages\n- `test:watch`: runs jest in watch mode\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/import?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%2Fjorge79%2Fmy-trips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorge79%2Fmy-trips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorge79%2Fmy-trips/lists"}