An open API service indexing awesome lists of open source software.

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.

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