UKK Kereta API 2025
    UKK Kereta API 2025
    • Getting Started
    • Version
      • Version
        GET
    • Auth
      • Sign Up
        POST
      • Sign In
        POST
      • Sign Out
        POST
    • User
      • Create User
        POST
      • Find User
        GET
      • Find Many User
        GET
      • Update User
        PATCH
      • Delete User
        DELETE
    • Kereta
      • Create Kereta
        POST
      • Find Kereta
        GET
      • Find Many Kereta
        GET
      • Find Many Kereta Filter
        GET
      • Update Kereta
        PATCH
      • Delete Kereta
        DELETE
    • Pelanggan
      • Create Pelanggan
        POST
      • Find Pelanggan
        GET
      • Find Many Pelanggan
        GET
      • Update Pelanggan
        PATCH
      • Delete Pelanggan
        DELETE
    • Gerbong
      • Create Gerbong
        POST
      • Find Gerbong
        GET
      • Find Many Gerbong
        GET
      • Update Gerbong
        PATCH
      • Untitled Endpoint
        DELETE
    • Kursi
      • Create Kursi
      • Find Kursi
      • Find Many Kursi
      • Update Kursi
      • Delete Kursi
    • Jadwal
      • Create Jadwal
      • Find Jadwal
      • Find Many Jadwal
      • Update Jadwal
      • Delete Jadwal
    • Pembelian Tiket
      • Create Pembelian Tiket
      • Find Many Pembelian Tiket History
      • Find Many Pemasukan Pembelian Tiket
      • Find Pembelian Tiket Nota

    Getting Started

    UKK Kereta API 2025#

    Welcome to the final project test for 2025 at SMK Telkom Malang! This project serves as a comprehensive API for railway systems. Enjoy exploring, and don’t hesitate to give feedback if something feels off.
    Lily
    Warning:
    Some APIs on this site might not work perfectly when parsing cookies. For the best experience, we recommend testing the endpoints using tools like Postman or Apidog.

    Table of Contents#

    UKK Kereta API 2025
    Table of Contents
    Base URLs
    Source Code
    Tech Stack
    Installation
    Prerequisites
    Cloning the Repository
    Setting Up the Environment
    Installing Dependencies
    Running the Project
    Development Server
    Building the Project
    Production Server

    Base URLs#

    API: https://kereta.api.fadhilkholaf.my.id
    Docs: https://kereta.apidog.fadhilkholaf.my.id

    Source Code#

    Find the complete source on GitHub.

    Tech Stack#

    Express.js
    Prisma ORM

    Installation#

    Prerequisites#

    Before you begin, ensure you have the following installed:
    Git
    Node.js
    PostgreSQL

    Cloning the Repository#

    Clone the project and navigate into the directory:

    Setting Up the Environment#

    1.
    Create a new .env file in the project root.
    2.
    Populate the file with the required environment variables.
    You can refer to the example provided in .env.example.

    Installing Dependencies#

    Install the project dependencies using pnpm:

    Running the Project#

    Development Server#

    Start the development server with:

    Building the Project#

    Build the project for production:

    Production Server#

    Run the production server with:
    Next
    Version
    Built with