api.yike.io  by overtrue

Backend API source code for a community platform

created 6 years ago
1,019 stars

Top 36.6% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides the backend API for the yike.io community, built with Laravel 5. It targets developers looking to understand or contribute to a community platform's backend infrastructure, offering features like user authentication, content management, and search.

How It Works

The API is powered by Laravel 5, leveraging its robust features for routing, ORM, and middleware. Key integrations include Laravel Passport for authentication, ElasticSearch for post searching, and various overtrue packages for functionalities like SMS, social login, and file uploads. This modular approach, combined with a clear dependency on a well-established framework, aims for maintainability and extensibility.

Quick Start & Requirements

  • Install: Clone the repository and set up a Laravel Homestead environment.
  • Prerequisites: Nginx 1.8+, PHP 7.1+, MySQL 5.7.7+, Redis 3.0+, ElasticSearch 5.* (with ik plugin).
  • Setup: Requires configuring Homestead, .env file, database migrations, and potentially Tencent Captcha and ElasticSearch.
  • Links: Frontend source: https://github.com/overtrue/yike.io

Highlighted Details

  • Utilizes overtrue/easy-sms for multi-gateway SMS.
  • Integrates overtrue/laravel-socialite for third-party login.
  • Employs tamayo/laravel-scout-elastic for ElasticSearch-based post searching.
  • Includes mewebstudio/Purifier for HTML sanitization to prevent XSS.

Maintenance & Community

The project is maintained by overtrue. The README explicitly states that the author will not provide support for usage questions and encourages direct PRs for improvements.

Licensing & Compatibility

  • License: MIT
  • Compatibility: Permissive MIT license allows for commercial use and integration with closed-source projects.

Limitations & Caveats

The author explicitly states they will not answer usage questions, directing users to solve problems themselves by reading Laravel documentation. A management backend is not provided.

Health Check
Last commit

5 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.