This is a front-end website for showcasing rental cars.
The project is developed in TypeScript using:
- NodeJS with NPM as foundation;
- ReactJS for library and NextJS for framework;
- TailwindCSS with HeadlessUI for styling.
The stable releases of the following technologies are used:
Technology | Version | Technology | Version |
---|---|---|---|
Node | 18.6+ | TypeScript | 5.1+ |
React & DOM | 18.2+ | Next | 13.4+ |
TailwindCSS | 3.3+ | HeadlessUI | 1.7+ |
P.S. For hosted usage, only Vercel deployment with variables is sufficient.
The environment variables to be used, are:
- Go to the RapidAPI Cars and find the
Header Parameters
tab. - Copy the value from the
X-RapidAPI-Key
field. - Enter it in the
NEXT_PUBLIC_RAPID_API_KEY
property.
- Go to this GitHub Gist and select the
api-key
file. - Copy the text content from that file.
- Enter it in the
NEXT_PUBLIC_IMAGIN_API_KEY
property.
For development purposes, follow these steps:
-
Run this command to install all the dependencies:
npm install
-
Run this command to keep watch and start the local server:
npm run dev
-
Go to this URL to use the application:
http://localhost:3000
For production purposes, follow these steps:
-
Run this command to install the required dependencies:
npm install
-
Run this command to minify and build the React project:
npm run build
-
Run this command to host the optimized React project:
npm start
-
Go to this URL to use the application:
http://localhost:3000
Thank you for using it!