Skip to content

arminhupka/carRento

Repository files navigation

#CarRento Next.JS Website

Loando screenshot

CarRento is a simple application for a car rental company.

Live Demo

INFORMATION
Adding cars may seem not working but it's Netlify "problem". Netlify has a limit of execution time set to 10 sec for free accounts.

Live demo is here here
You can login as admin here.

Login details demo:demo

Features

  • Register and login system
  • User can send reservations to admin
  • Admin can add new cars, brands, insurances and mark reservations as accepted, rejected etc.

Used tools

  • Next.js
  • Tailwind
  • Moment.js
  • Axios
  • Next Auth
  • Slugify
  • MongoDB & Mongoose
  • AWS S3
  • Formik
  • Multer
  • Nanoid

Things to add

  • Redux for better state management instead of localstorage
  • Email notifications
  • Online payment
  • More complex reservation management

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

carRento