Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/raczkodavid/Tikera/llms.txt

Use this file to discover all available pages before exploring further.

Tikera is split into two independently runnable processes that communicate over HTTP. The frontend is a React single-page application bundled by Vite; it talks to a Laravel API server that reads and writes to a local SQLite database. All authentication is handled through Laravel Sanctum bearer tokens, which the frontend stores in localStorage and attaches to every protected request.

Layer overview

LayerTechnologyRole
FrontendReact 19, Redux Toolkit, Tailwind CSS + DaisyUISPA served from Vite dev server or static host
BackendLaravel, Laravel SanctumRESTful JSON API; handles auth, validation, business logic
DatabaseSQLiteSingle-file relational store managed through Laravel migrations

Client routes

The React application uses react-router-dom v7 and defines five top-level routes in App.jsx:
PathComponentAccess
/MoviesPagePublic
/loginLoginPagePublic
/registerRegisterPagePublic
/bookingsBookingsPageAuthenticated
/adminpageAdminPageAdmin only

API base URL

The axios instance reads its base URL from the VITE_API_URL environment variable, which is set in the client’s .env file before running the Vite dev server:
# client/.env
VITE_API_URL=http://localhost:8000/api
In api.js this becomes:
const BASE_URL = import.meta.env.VITE_API_URL;

const api = axios.create({
  baseURL: BASE_URL,
  headers: {
    "Content-Type": "application/json",
  },
});
Vite path aliases (configured in vite.config.js) keep imports short across the frontend:
resolve: {
  alias: {
    "@": "/src",
    "@components": "/src/components",
    "@store": "/src/store",
    "@services": "/src/services",
    "@utils": "/src/utils",
    "@hooks": "/src/hooks",
  },
},

Explore further

Frontend architecture

React component structure, Redux slices, and the service layer

Backend API and models

Laravel controllers, Eloquent models, and database schema

Build docs developers (and LLMs) love