Live Link: https://quick-ship-app.vercel.app/
Developed a delivery estimation application using React, Vite, and CSV data files to provide a user-friendlyexperience for product selection and delivery timeline estimates
DeliveryApp is a React-based application for managing product delivery estimates based on user-selected products and pincode-based logistics. It calculates and displays estimated delivery dates for orders based on various logistics providers and includes a real-time countdown timer for same-day delivery.
● Built a scalable delivery app leveraging React and React Router to manage navigation and dynamic data.
● Integrated CSV data with PapaParse for accurate product availability and delivery estimates by pin code.
● Added a countdown timer for same-day cutoff alerts and reusable components for easy navigation and data
- Open your terminal and navigate to the directory where you want to create your project.
- Run the following command to create a new Vite project:
npm create vite@latest DeliveryApp -- --template react
- Change to the project directory: Run the following command
cd DeliveryApp
- Install Tailwind CSS and its dependencies:
npm install -D tailwindcss postcss autoprefixer
- Initialize Tailwind CSS: Run the following command
npx tailwindcss init -p
- Open the tailwind.config.js file and update the content array to include your project files:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [],
};
- Open your main CSS file (typically located at src/index.css) and add the following lines to include Tailwind's base, components, and utilities:
@tailwind base;
@tailwind components;
@tailwind utilities;
Start the development server locally:
@tailwind base;
@tailwind components;
@tailwind utilities;
Open your browser and navigate to http://localhost:5173 (the default port) to see your React app with Tailwind CSS set up.
- Initialize a Git repository (if you haven’t already):
git init
- Check the status of all files
git status
- Add your files to the repository:
git add .
- Commit your changes:
git commit -m "Initial commit"
- Create a new repository on GitHub:
Go to GitHub and create a new repository named DeliveryApp.
- Link your local repository to GitHub:
git remote add origin https://github.com/guptaravimp/DeliveryApp.git
- Push code on Github
git push origin main
- Run the deploy command:
npm run deploy
This command will build your app and push the contents of the dist folder to the gh-pages branch of your repository.
- Open your browser and navigate to
npm run deploy
This command will build your app and push the contents of the dist folder to the gh-pages branch of your repository.
Open your browser and navigate to: https://github.com/<User_name>/QuickShipApp
Documentation Links
For more detailed information, you can refer to the official documentation:
[Vite Deployment Guide](https://v3.vitejs.dev/guide/)
- Go to the Vercel website.
- Click on the "Sign Up" button and create an account using GitHub,
- Select The repositiory and Import it
- and after this Deploy it