Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/JuseAR27/Unisierra-eats/llms.txt

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

UniSierra Eats is a web application that lets students browse cafeteria products, leave star-rated reviews, and search the menu — while administrators manage the product catalog, moderate flagged content, and view analytics reports. It runs on Node.js with Express and SQLite, and exposes a RESTful API that powers both the student-facing frontend and the admin panel.

Introduction

Understand the platform architecture, roles, and how everything fits together.

Quickstart

Get UniSierra Eats running locally in under five minutes.

API Reference

Explore all REST endpoints for products, users, reviews, and admin operations.

Admin Panel

Learn how to manage inventory, moderate reviews, and track platform analytics.

How It Works

1

Run the server

Start the Express server on port 3000. It serves static frontend files and exposes the REST API simultaneously.
2

Initialize the database

Run the setup script to create all SQLite tables and seed default products and roles.
3

Register an account

Students and admins register using their @unisierra.edu.mx institutional email address.
4

Browse, review, and manage

Students explore the menu and submit reviews; admins use the panel to manage products and moderate content.

Key Features

Role-Based Access

Two roles — Student and Administrator — each with distinct permissions enforced on both the frontend and API.

Product Catalog

Four product categories (comidas, bebidas, snacks, sanas) with price levels and image support.

Reviews & Ratings

Students submit 1–5 star ratings with comments. Average scores are computed in real time.

Review Moderation

Users can flag inappropriate reviews; admins approve or permanently delete flagged content.

Global Search

Full-text search across product names, descriptions, and categories with URL-based results.

Admin Analytics

Dashboards showing total reviews, platform-wide average rating, and top/lowest-rated products.

Build docs developers (and LLMs) love