Join the Chuyên Biên Hòa youth community for forum posts, chat and stories
Translation pending
AI summary · website and README
SocialPHP · BladeGitHub @tunnaduongOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
tunnaduong/cbh-youth-online-api
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
A comprehensive social and community platform built with the Laravel framework.
Chuyen Bien Hoa Youth Online is a feature-rich web application designed to foster a vibrant online community. It combines a traditional forum system with modern social media features like user profiles, activity feeds, real-time chat, and stories. The platform also includes a detailed administrative backend for managing users, content, and school-related activities such as class schedules and student violations.Read the full README ↗Chuyen Bien Hoa Youth Online is a feature-rich community platform for students of THPT Chuyên Biên Hòa. It combines a traditional forum system with modern social media features like user profiles, activity feeds, real-time chat, and stories, plus a points wallet, a gift shop, and study tools. The platform also includes administrative tools for managing users, content, and school-related activities such as class schedules and student violations.
This repository is the Laravel 10 backend served at https://api.chuyenbienhoa.com. It exposes one JSON API used by the web app (chuyenbienhoa.com), the mobile app, and the gift shop (giftshop.chuyenbienhoa.com). Authentication uses Laravel Sanctum bearer tokens and real-time features use Laravel Reverb. A legacy Inertia.js frontend still lives in routes/web.php, but the clients above don't use it.
/admin dashboard, plus a Filament panel, for managing users, forum content, moderation, reports, deposits and withdrawals, student verification, the shop, school classes, schedules, and student violations.Follow these instructions to get a local copy of the project up and running for development and testing purposes.
Clone the repository:
git clone https://github.com/tunnaduong/cbh-youth-online-api.git
cd cbh-youth-online-api
Install PHP dependencies:
composer install
Install JavaScript dependencies:
npm install
Create your environment file: Copy the example environment file and generate your application key.
cp .env.example .env
php artisan key:generate
Configure your environment (.env):
Open the .env file and update the database credentials (DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD) and any other necessary configuration, such as mail, Reverb, OAuth (Google/Facebook/Apple), VAPID, SePay, and AI keys. Use a persistent CACHE_DRIVER (file or redis, not array).
Run database migrations and link storage:
php artisan migrate
php artisan storage:link
Compile frontend assets (legacy Inertia site only): To build the assets for development and watch for changes:
npm run dev
For production, run:
npm run build
Serve the application:
php artisan serve
php artisan reverb:start # websockets for chat
php artisan queue:work # media compression, AI replies, broadcasts
php artisan schedule:work # scheduled jobs (expired stories, newsletter)
The application will be available at http://localhost:8000 by default.
Once the application is running, point a client (web, mobile, or gift shop) at it, or call the API directly.
Admin Access: To use the admin features, a user must have their role set to admin in the cyo_auth_accounts table. The admin dashboard lives in the web app at /admin and calls the /v1.0/admin/* endpoints.
API: The application exposes a versioned RESTful API under the /v1.0/ prefix (for example https://api.chuyenbienhoa.com/v1.0/login). Refer to the routes/api.php file for a full list of available endpoints.
Deployment: Production runs on an aaPanel server with nginx and PHP-FPM. See deploy/ for the nginx upload-size and supervisor queue-worker configs.
The default branch is main: unless told otherwise, commit and push changes there.
This project is open-sourced software licensed under the MIT license.