NEWS APP CPANEL PACKAGE

DATABASE DETAILS TO CREATE IN CPANEL
Database suffix: newsapp
Database user suffix: newsusr
Password: Ronak@12345

IMPORTANT: cPanel automatically adds your account prefix.
Example, if cPanel username is ronak123:
Database name: ronak123_newsapp
Database user: ronak123_newsusr

SETUP STEPS
1. cPanel > MySQL Databases. Create database newsapp.
2. Create user newsusr with password Ronak@12345.
3. Add user to database and enable ALL PRIVILEGES.
4. phpMyAdmin > select database > Import > sql/news_app.sql.
5. Upload all package files into your domain/subdomain document root.
6. Edit config/database.php and replace YOURCPANEL with your real cPanel username prefix in DB name and DB user.
7. Edit config/config.php and replace https://YOUR-DOMAIN.com with your real URL.
8. Ensure uploads/news, uploads/publishers, uploads/categories permissions are 755.
9. Open https://YOUR-DOMAIN.com/admin/

DEFAULT ADMIN LOGIN
Email: admin@newsapp.com
Password: Ronak@12345
Change the admin password immediately from Change Password.

API TEST URLS
/api/
/api/languages.php
/api/categories.php
/api/publishers.php
/api/news.php
/api/news-detail.php?id=1
