https://github.com/pedrovidaldev/classravel
This project is a REST API built with Laravel and Eloquent ORM for managing data related to students, classes, teachers, and schools.
https://github.com/pedrovidaldev/classravel
eloquentorm laravel php restapi
Last synced: 28 days ago
JSON representation
This project is a REST API built with Laravel and Eloquent ORM for managing data related to students, classes, teachers, and schools.
- Host: GitHub
- URL: https://github.com/pedrovidaldev/classravel
- Owner: PedroVidalDev
- Created: 2024-12-18T17:29:06.000Z (6 months ago)
- Default Branch: develop
- Last Pushed: 2025-02-03T20:10:16.000Z (4 months ago)
- Last Synced: 2025-02-09T11:33:52.050Z (4 months ago)
- Topics: eloquentorm, laravel, php, restapi
- Language: PHP
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Classravel
## Description
This project is a REST API built with **Laravel** and **Eloquent ORM** for managing data related to students, classes, teachers, and schools. The API handles the persistence of these entities, which are interconnected by various relationships. The system is designed to be scalable and efficient for handling complex relational data structures.## Relationships
- **Class and Student**: Many-to-One
- **Class and Teacher**: Many-to-Many
- **Class and School**: Many-to-One
- **Teacher and School**: Many-to-Many
- **School and User**: Many-to-One## Technologies Used
- **Laravel**: PHP framework for building web applications.
- **Eloquent ORM**: For database interactions.
- **PostgreSQL**: Relational database for data storage.
- **Composer**: Dependency manager for PHP.## Features
1. CRUD operations for:
- Students
- Classes
- Teachers
- Schools
- User
2. Management of relationships between entities.
3. API endpoints adhering to RESTful principles.
4. Validation of request data.## Setup and Configuration
### Prerequisites
1. PHP (>= 8.0)
2. Composer
3. PostgreSQL database
4. Laravel installed globally