{"id":17353072,"url":"https://github.com/gmartins-dev/nextjs14-car-hire","last_synced_at":"2025-03-27T13:14:30.461Z","repository":{"id":208713404,"uuid":"722199383","full_name":"gmartins-dev/nextjs14-car-hire","owner":"gmartins-dev","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-28T21:42:25.000Z","size":8873,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T17:25:35.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nextjs14-car-hire.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/gmartins-dev.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":"2023-11-22T16:40:08.000Z","updated_at":"2024-10-24T12:09:16.000Z","dependencies_parsed_at":"2023-11-22T23:22:30.793Z","dependency_job_id":"634c27fc-a69f-4201-bad1-20f28cf57dc0","html_url":"https://github.com/gmartins-dev/nextjs14-car-hire","commit_stats":null,"previous_names":["gmartins-dev/nextjs14-car-hire"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fnextjs14-car-hire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fnextjs14-car-hire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fnextjs14-car-hire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fnextjs14-car-hire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmartins-dev","download_url":"https://codeload.github.com/gmartins-dev/nextjs14-car-hire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245850360,"owners_count":20682647,"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-10-15T17:15:33.251Z","updated_at":"2025-03-27T13:14:30.442Z","avatar_url":"https://github.com/gmartins-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cdiv  align=\"center\"\u003e\n\n\u003cimg  alt=\"Guilherme Martins - Frontend Developer\"  src=\"https://images2.imgbox.com/ae/e8/W7QmciDO_o.png\" width=\"40%\"  /\u003e\n\n\u003c/div\u003e\n\n\n\n\u003ch1  align=\"center\"\u003e\n\n🖥 Car Hire Booking System - Next.js v14 📱\n\n\u003c/h1\u003e\n\n\n\n\n\n## 🗃 Project\n\nThis project is a web application built with TypeScript, React, and json-server. It's designed to provide a robust and scalable solution for modern web development needs.\n\nThe application leverages TypeScript for static typing, which enhances code quality and understandability. React, a popular JavaScript library, is used for building the user interface in a declarative style, making the code more predictable and easier to debug.\n\nThe backend is powered by json-server, a simple tool that lets you set up a full fake REST API for development and prototyping.\n\nThe combination of these technologies provides a solid foundation for building complex web applications, and offers a great starting point for projects that require a quick setup with robust features.\n\n\u003c/br\u003e\n\n\n\n## 🛠 Technologies\n\nThis project was developed with the following technologies:\n\n  \u003cimg  align=\"center\"  alt=\"JavaScript\"  height=\"30\"  width=\"30\"  src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-plain.svg\"\u003e **JavaScript**\n\n  \u003cimg  align=\"center\"  alt=\"Ts\"  height=\"30\"  width=\"30\"  src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/typescript/typescript-plain.svg\"\u003e **TypeScript**\n\n  \u003cimg  align=\"center\"  alt=\"React\"  height=\"30\"  width=\"30\"  src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/react/react-original.svg\"\u003e **React**\n\n  \u003cimg  align=\"center\"  alt=\"Next.js\"  height=\"30\"  width=\"30\"  src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/nextjs/nextjs-original.svg\"\u003e **Next.js**\n\n  \u003cimg  align=\"center\"  alt=\"TailwindCSS\"  height=\"30\"  width=\"30\"  src=\"https://upload.wikimedia.org/wikipedia/commons/d/d5/Tailwind_CSS_Logo.svg\"\u003e **TailwindCSS**\n\n\n\n\u003c/br\u003e\n\n\n## 💻 Demonstration\n\n\n\u003ch5 align=\"center\"\u003e 🔗 Online: https://nextjs14-car-hire.vercel.app\u003c/h5\u003e\n\n\u003c/br\u003e\n\u003cp  align=\"center\"\u003e\n  \u003ch5 align=\"center\"\u003e🖥 Desktop:\u003c/h5\u003e\n  \u003ckbd\u003e\n\u003cimg width=\"100%\" style=\"border-radius: 5px\" height=\"70%\" src=\"public/previews/desktop-index.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n  \u003ckbd\u003e\n\u003cimg width=\"100%\" style=\"border-radius: 5px\" height=\"70%\" src=\"public/previews/desktop-form.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n\u003c/p\u003e\n\u003cimg width=\"100%\" style=\"border-radius: 5px\" height=\"70%\" src=\"public/previews/desktop-cars.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n\u003c/p\u003e\n  \u003ch5 align=\"center\"\u003e📱 Mobile:\u003c/h5\u003e\n\u003cp  align=\"center\"\u003e\n\u003ckbd\u003e\n\u003cimg width=\"600\" style=\"border-radius: 5px\" height=\"100%\" src=\"public/previews/mobile-index.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n\u003ckbd\u003e\n\u003cimg width=\"600\" style=\"border-radius: 5px\" height=\"100%\" src=\"public/previews/mobile-form.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n\u003cimg width=\"600\" style=\"border-radius: 5px\" height=\"100%\" src=\"public/previews/mobile-cars.png\" alt=\"\"\u003e\n\u003c/kbd\u003e\n\u003c/p\u003e\n\n\u003c/br\u003e\n\n## 🚀 How to run\n\nIf you want to run the project on your local machine, just follow the steps below:\n\n```bash\n$ git clone https://github.com/gmartins-dev/nextjs14-car-hire\n\n# Install the dependencies\n\n$ yarn install or npm install or pnpm install (recommended)\n\n# Run FE\n\n$ yarn run dev or npm run dev or pnpm run dev (recommended)\n\n# Run BE (mock json-server)\n\n$ yarn run json-server or npm run json-server or pnpm run json-server (recommended)\n\n```\n## 🛠 Possible improvements and new features:\n\n\n\n1. Set a design system and better styling\n\n2. Add dark/light themes\n\n3. Forms:\n\n  3.1 define what fields are required or optional\n\n  3.2 use masks and validations\n\n  3.3 use a third library like:  Formik or React Hook Forms\n\n4. Create a modal: when click in a car card shows the car details modal\n\n5. Add more filtering options and a search bar\n\n6. Organize the TS interfaces and types in a separate folder/files\n\n7. Implement tests:\n\n  7.1 unit tests\n\n  7.2 integration tests\n\n  7.3 end-to-end test\n\n\n\n\u003c/br\u003e\n\n## 📝 License\n\n\n\nThis project is licensed under the MIT license.\n\n\n\n\u003cimg src=\"https://img.shields.io/badge/license-MIT-success\"/\u003e\n\n\u003c/p\u003e\n\n\n\n\u003c/br\u003e\n\u003chr/\u003e\n\u003c/br\u003e\n\n\n\n\n\u003ch3\u003e Guilherme Martins - @gmartins-dev \u003c/h3\u003e\n\n- Portfolio: https://gmartins.dev\n\n- LinkedIn: https://www.linkedin.com/in/gmartins-dev\n\n- GitHub: https://github.com/gmartins-dev\n\n- Email: contact@gmartins.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmartins-dev%2Fnextjs14-car-hire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmartins-dev%2Fnextjs14-car-hire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmartins-dev%2Fnextjs14-car-hire/lists"}