Skip to content

anujpatel03/liftlink

Repository files navigation

LiftLink

Welcome to the LiftLink project! This repository contains the source code and resources for the LiftLink application. LiftLink is a web application in which users can easily book a cab of their choice and make payments using the Ethereum cryptocurrency. Whether you're commuting to work, attending an event, or simply require a lift, LiftLink provides a seamless platform for booking and paying for cab services.

Local Setup

To set up the LiftLink project locally on your machine, please follow the instructions below:

Prerequisites

  • Node.js (version 12 or above)
  • npm (usually installed automatically with Node.js)
  • Sanity (make sure you have sanity account)
  • MetaMask (make sure it's installed and create MetaMask account)

Installation

  1. Clone this repository to your local machine using the following command:
git clone https://github.com/anujpatel03/liftlink.git
  1. Navigate to the project directory:
cd liftlink
  1. Install the project dependencies by running:
npm install
  1. Create a .env.local file in the root directory of the project and configure the necessary environment variables.You can use the provided .env.example file as a template.

Sanity setup

npm install -g @sanity/cli
sanity login
sanity deploy

This is a Next.js project bootstrapped with create-next-app.

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

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.