Skip to content

Sitaras/JourneyLink

Repository files navigation

JourneyLink

JourneyLink is a comprehensive ride-sharing platform designed to connect drivers and passengers for seamless travel experiences. This monorepo contains the backend API, web application, and mobile application.

Tech Stack

  • Monorepo Management: Turbo, Yarn Workspaces
  • Backend: Node.js, Express, MongoDB
  • Web Frontend: Next.js, React, Tailwind CSS
  • Shared Packages: TypeScript, Zod

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • Yarn (v4.x+)
  • MongoDB (Local or Atlas URI)

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd JourneyLink
  2. Install dependencies:

    yarn install
  3. Environment Setup:

    • Copy .env.example to .env in apps/api and apps/web.
    • Configure your MongoDB URI and other environment variables.

Running the Project

You can run the entire stack or individual applications using Turbo.

  • Run all apps (dev mode):

    yarn dev
  • Run specific app:

    yarn dev:api
    yarn dev:web

Project Structure

  • apps/api: Express.js backend API
  • apps/web: Next.js web frontend
  • packages/shared: Shared TypeScript types, schemas, and utilities

API Documentation

The API is documented using a Postman collection. You can find the postman_collection.json file in the root directory. Import it into Postman to explore and test the API endpoints.

Key Endpoints

  • Auth: /api/auth (Login, Register, Logout)
  • User: /api/me (Profile, Rides)
  • Rides: /api/ride (Create, Search, Manage)
  • Bookings: /api/booking (Book, Accept, Decline)
  • Places: /api/city-autocomplete

About

A comprehensive ride-sharing platform designed to connect drivers and passengers for seamless travel experiences

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages