Skip to content

Latest commit

Β 

History

History
79 lines (69 loc) Β· 1.97 KB

File metadata and controls

79 lines (69 loc) Β· 1.97 KB

EdufyAPI

Overview

EdufyAPI is the backend service for the Edufy platform, a modern educational system designed to facilitate seamless interaction between students and instructors. The API provides functionalities for user authentication, course management, payments, and more.

Features

  • βœ… User authentication (Student & Instructor)
  • πŸ“š Course creation and enrollment
  • πŸ”’ API rate limiting and security measures
  • πŸ›‘οΈ Role-based access control

Technologies Used

  • πŸ–₯ Programming Language: C#
  • πŸ›  Framework: .NET Core
  • πŸ—„ Database: SQL Server / PostgreSQL
  • πŸ”‘ Authentication: JWT
  • πŸ“¦ Deployment: Docker, Kubernetes (Optional)
  • πŸ“Œ Version Control: Git & GitHub

Getting Started

Prerequisites

Ensure you have the following installed:

  • .NET SDK (latest version)
  • SQL Server / PostgreSQL
  • Docker (if containerization is used)
  • Git

Installation

  1. Clone the repository:
    git clone https://github.com/abdullahazmy/EdufyAPI.git
    cd EdufyAPI
  2. Restore dependencies:
    dotnet restore
  3. Set up the database:
    • Configure your database connection string in appsettings.json
    • Apply migrations:
      dotnet ef database update
  4. Run the API:
    dotnet run

API Documentation

API documentation is available using Swagger.

  • Start the application and navigate to:
    http://localhost:5000/swagger
    

Project Structure

EdufyAPI/
│── Controllers/
│── Models/
│── Services/
│── Repositories/
│── Migrations/
│── appsettings.json
│── Program.cs
│── Startup.cs
│── README.md

Contributing

πŸš€ Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (feature-branch)
  3. Commit your changes
  4. Push the branch and create a Pull Request

License

πŸ“œ EdufyAPI is licensed under the MIT License.