Skip to content

Latest commit

 

History

History
73 lines (41 loc) · 2.86 KB

README.md

File metadata and controls

73 lines (41 loc) · 2.86 KB

University Student Registration API

This is a Rails API application designed to handle student registration for universities. It provides endpoints for creating, updating, and retrieving student registration data. Alternative API documentation on bumb.sh click link below https://bump.sh/decryptcoder/doc/spmb-del.

Features

  • Student Registration: Students can register for the university by providing necessary details.
  • Course Enrollment: Registered students can enroll in available courses.
  • Student Profiles: Each student has a profile where they can update their details and view their enrolled courses.
  • Course Management: Admin users can create, update, and delete courses.
  • JWT and Bearer Authentication: The API uses JWT (JSON Web Tokens) for authentication, ensuring secure access to the endpoints.
  • API Documentation: The API endpoints are documented using Swagger UI, providing an interactive interface for exploring the API.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Ruby version 3.0.0
  • Rails version 7.1.3
  • PostgreSQL or Sqlite3

Installation

  1. Clone the repository:
  2. Change into the directory
  3. Install the dependencies
  4. Setup the database or run migration
  5. Start the server

The application is now running at http://localhost:3000.

API Documentation

The API documentation is available at http://localhost:3000/api-docs. The documentation provides a detailed description of each endpoint, including the required parameters and the response format. It also provides an interactive interface for making requests to the API.

Running the tests

Run the test suite using the following command:

  1. rails test:controllers
  2. rails test:models

Contributing

We welcome contributions to this project! Please read our Contributing Guide for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Example Swagger UI Result

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description