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.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.
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
Run the server
Start the Express server on port 3000. It serves static frontend files and exposes the REST API simultaneously.
Initialize the database
Run the setup script to create all SQLite tables and seed default products and roles.
Register an account
Students and admins register using their
@unisierra.edu.mx institutional email address.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.