Travora is a platform where users can exchange or sell their unused travel packages, vouchers, or tickets (such as flight tickets, hotel stays, or event passes).
- Secure user login using NextAuth (supports social login options like Google).
- User profiles display:
- Past exchanges.
- Ratings.
- Current offers.
- Chat feature for buyers and sellers using WebSockets.
- Dynamic pages for:
- Deals.
- User profiles.
- Locations.
- Display relevant offers based on the user's geolocation.
- Allow users to upload images for their offers.
- Next.js API Routes
-
Clone the repository:
git clone https://github.com/your-username/Travora.git
-
Install dependencies:
npm install
-
Set up environment variables in a
.env
file:NEXTAUTH_URL=<your-domain> DATABASE_URL=<your-database-url>
-
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser to view the app.