CRS Grad API

REST API for a course registration and graduation system built with Laravel 10.

Overview

A backend API that provides endpoints for managing course registration activities, user authentication, and academic blocks. Deployed on Heroku with MySQL database storage.

Role

Owner - Designed and developed the API

Technologies

  • PHP 8.1+ / Laravel 10
  • MySQL
  • Laravel Sanctum 3 (token-based authentication)
  • PHPUnit 10 (testing)
  • Laravel Pint (code formatting)
  • Heroku (deployment)

Repository

GitHub: crs-grad-api

Screenshot

CRS Grad API Screenshot

Key Features

  • User authentication with Sanctum tokens
  • Activity scheduling with date/time, college, program, and year level
  • Subject block management
  • RESTful API endpoints

API Endpoints

All routes prefixed with /api:

  • POST /login - Authentication
  • POST /activities - Create activity
  • GET /activities - List activities
  • PUT /activitiesupdate/{id} - Update activity
  • GET /block/{id} - Show block
  • PUT /updateblock/{id} - Update block