{"id":19796648,"url":"https://github.com/alfianchii/confess","last_synced_at":"2025-04-09T14:10:44.768Z","repository":{"id":91815783,"uuid":"598524735","full_name":"alfianchii/confess","owner":"alfianchii","description":"A website for student complaint reporting built with Laravel 9","archived":false,"fork":false,"pushed_at":"2025-02-09T12:38:31.000Z","size":50439,"stargazers_count":75,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:09:10.930Z","etag":null,"topics":["application","laravel","school"],"latest_commit_sha":null,"homepage":"https://alfianxi.my.id","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfianchii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T09:40:07.000Z","updated_at":"2025-02-12T04:18:41.000Z","dependencies_parsed_at":"2023-04-11T15:46:32.783Z","dependency_job_id":"22c55ed9-cda2-4b58-86c7-82fb74ac41fc","html_url":"https://github.com/alfianchii/confess","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianchii%2Fconfess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianchii%2Fconfess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianchii%2Fconfess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianchii%2Fconfess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfianchii","download_url":"https://codeload.github.com/alfianchii/confess/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054195,"owners_count":21039952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application","laravel","school"],"created_at":"2024-11-12T07:20:49.911Z","updated_at":"2025-04-09T14:10:44.724Z","avatar_url":"https://github.com/alfianchii.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to Confess! 👋\u003c/h1\u003e\n\n![Landing Page](https://github.com/alfianchii/confess/blob/main/public/images/confess-welcome.png?raw=true)\n\n[![All Contributors](https://img.shields.io/github/contributors/alfianchii/confess)](https://github.com/alfianchii/confess/graphs/contributors)\n![GitHub last commit](https://img.shields.io/github/last-commit/alfianchii/confess)\n\n---\n\n\u003ch2 id=\"tentang\"\u003e🤔 What is Confess?\u003c/h2\u003e\n\nConfess is a school complaint reporting application that enables students to submit their issues, grievances, suggestions, criticisms, and even confessions online.\n\n\u003ch2 id=\"fitur\"\u003e🤨 What features are available in Confess?\u003c/h2\u003e\n\n-   [Mazer Bootstrap Template](https://github.com/zuramai/mazer)\n    -   Dark and light mode\n    -   Dashboard UI\n-   Landing Page\n    -   Homepage\n    -   About\n    -   Confession\n    -   Comment\n    -   Confession's category\n-   Authentication\n    -   Registration\n    -   Login\n-   Multi User\n    -   Admin\n        -   History login, confession, response, and comment statistics (full overview)\n        -   Manageable users\n        -   Manageable confession's categories\n        -   Manageable website informations\n        -   Deactivate their own account\n    -   Officer\n        -   History login, confession, response, and comment statistics (half overview)\n        -   Handling student's confessions\n    -   Student\n        -   History login, confession, response, and comment statistics (shallow overview)\n        -   Submit confessions\n    -   All\n        -   Comment to a confession on Landing Page\n        -   Account\n        -   Export data\n-   Account\n    -   Profile\n    -   Setting\n    -   Change Password\n-   Searchable Landing Page\n    -   Confessions\n    -   Confession's categories\n\n\u003ch2 id=\"testing-account\"\u003e👤 Default account for testing\u003c/h2\u003e\n\n### 👨‍🏫 Admin\n\n-   Username: alfianchii\n-   Password: admin123\n\n### 🧖 Officer\n\n-   Username: moepoi\n-   Password: officer123\n\n### 🧗 Student\n\n-   Username: nata.ardhana\n-   Password: student123\n\n\u003ch2 id=\"demo\"\u003e🏠 Demo page\u003c/h2\u003e\n\nTo view further details, please visit [demo page](https://alfianxi.my.id).\n\n\u003ch2 id=\"pre-requisite\"\u003e💾 Pre-requisite\u003c/h2\u003e\n\n\u003cp\u003eHere are the prerequisites required for installing and running the application.\u003c/p\u003e\n\n-   PHP 8.2.8 \u0026 Web Server (Apache, Lighttpd, or Nginx)\n-   Database (MariaDB w/ v11.0.3 or PostgreSQL)\n-   Web Browser (Firefox, Safari, Opera, or Brave)\n\n\u003ch2 id=\"installation\"\u003e💻 Installation\u003c/h2\u003e\n\n\u003ch3 id=\"develop-yourself\"\u003e🏃‍♂️ Develop by yourself\u003c/h3\u003e\n1. Clone repository\n\n```bash\ngit clone https://github.com/alfianchii/confess\ncd confess\ncomposer install\nnpm install\ncp .env.example .env\n```\n\n2. Database configuration through the `.env` file\n\n```conf\nAPP_DEBUG=true\nDB_DATABASE=confess\nDB_USERNAME=your-username\nDB_PASSWORD=your-password\n```\n\n3. Migration and symlink\n\n```bash\nphp artisan key:generate\nphp artisan storage:link\nphp artisan migrate --seed\n```\n\n4. Launch the website\n\n```bash\nnpm run dev\n# Run in different terminal\nphp artisan serve\n```\n\n\u003ch3 id=\"develop-docker\"\u003e🐳 Develop w/ Docker\u003c/h3\u003e\n\n-   Clone the repository:\n\n```bash\ngit clone https://github.com/alfianchii/confess\ncd confess\n```\n\n-   Copy `.env.example` file with `cp .env.example .env` and configure database:\n\n```conf\nAPP_DEBUG=true\nDB_HOST=mariadb\nDB_DATABASE=confess\nDB_USERNAME=your-username\nDB_PASSWORD=your-password\n```\n\n-   Make sure you have Docker installed and run:\n\n```bash\ndocker compose up --build -d\n```\n\n-   Install dependencies:\n\n```bash\ndocker compose run --rm composer install\ndocker compose run --rm npm install\n```\n\n-   Laravel setups:\n\n```bash\ndocker compose run --rm laravel-setup\n```\n\n-   Run locally:\n\n```bash\ndocker compose run --rm --service-ports npm run dev\n```\n\n-   Pages\n-   -   App: `http://127.0.0.1`\n-   -   PhpMyAdmin: `http://127.0.0.1:8888`\n-   -   MailHog: `http://127.0.0.1:8025`\n\n\u003ch4 id=\"docker-commands\"\u003e🔐 Commands\u003c/h4\u003e\n\n-   Composer\n-   -   `docker compose run --rm composer install`\n-   -   `docker compose run --rm composer require laravel/breeze --dev`\n-   -   Etc\n\n-   NPM\n-   -   `docker compose run --rm npm install`\n-   -   `docker compose run --rm --service-ports npm run dev`\n-   -   Etc\n\n-   Artisan\n-   -   `docker compose run --rm artisan serve`\n-   -   `docker compose run --rm artisan route:list`\n-   -   Etc\n\n\u003ch2 id=\"production\"\u003e🌐 Production\u003c/h2\u003e\n\n\u003ch3 id=\"deployment-docker-vps\"\u003e🐳 Deployment w/ Docker (use Virtual Private Server)\u003c/h3\u003e\n\n-   Clone the repository w/ SSH method `git clone git@github.com:alfianchii/confess` and go to the directory with `cd confess` command.\n\n-   Copy `.env.example` file to `.env` and do configs.\n\n```conf\n# App\nAPP_ENV=production\nAPP_DEBUG=false\nAPP_URL=127.0.0.1\nAPP_PORT=8002\n\n# DB\nDB_HOST=mariadb\nDB_DATABASE=confess\nDB_USERNAME=your-vps-username\nDB_PASSWORD=your-vps-password\n```\n-   Let's build with `docker compose -f ./docker-compose.prod.yaml up -d --build` command.\n\n-   Install its dependencies.\n\n```bash\ndocker compose -f ./docker-compose.prod.yaml run --rm composer install --optimize-autoloader --no-dev\ndocker compose -f ./docker-compose.prod.yaml run --rm npm install\n```\n\n-   Build the assets with dockerized Vite.js command: `docker compose -f ./docker-compose.prod.yaml run --rm npm run build`.\n\n-   Do Laravel setups with existing Docker's custom command: `docker compose -f ./docker-compose.prod.yaml run --rm laravel-setup`.\n\n- Setup your domain and SSL certificate with Nginx configuration:\n\n```nginx\nserver {\n  server_name your-domain.com www.your-domain.com;\n\n  location / {\n    proxy_pass http://127.0.0.1:8002;\n    proxy_set_header Host $host;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header X-Forwarded-Proto $scheme;\n  }\n\n  error_log /var/log/nginx/your-domain_error.log;\n  access_log /var/log/nginx/your-domain_access.log;\n}\n```\n\n- Setup SSL certificate with Certbot:\n\n```bash\nsudo apt install certbot python3-certbot-nginx\nsudo certbot --nginx -d your-domain.com -d www.your-domain.com\nsudo ln -s /etc/nginx/sites-available/your-domain.com /etc/nginx/sites-enabled/\nsudo systemctl reload nginx\n```\n\n-   Congrats! Your app is ready to be served. You can access it on your domain and with HTTPS protocol~\n\n\u003ch2 id=\"dukungan\"\u003e💌 Support me\u003c/h2\u003e\n\n\u003cp\u003eYou can support me on the Trakteer platform! Your support will be very meaningful. Like, just giving a star to this project is already greatly appreciated~!\u003c/p\u003e\n\n\u003ca href=\"https://trakteer.id/alfianchii/tip\" target=\"_blank\"\u003e\u003cimg id=\"wse-buttons-preview\" src=\"https://cdn.trakteer.id/images/embed/trbtn-red-5.png\" height=\"40\" style=\"border:0px;height:40px;\" alt=\"Trakteer Me\"\u003e\u003c/a\u003e\n\n\u003ch2 id=\"kontribusi\"\u003e🤝 Contributing\u003c/h2\u003e\n\n\u003cp\u003eContributions, issues, and feature requests are highly appreciated as this application is far from perfect. Please do not hesitate to make a pull request and make changes to this project!\u003c/p\u003e\n\n\u003ch2 id=\"lisensi\"\u003e📝 License\u003c/h2\u003e\n\nConfess is open-sourced software licensed under the [MIT License](./LICENSE).\n\n\u003ch2 id=\"pembuat\"\u003e🧍 Author\u003c/h2\u003e\n\n\u003cp\u003eConfess is created by \u003ca href=\"https://instagram.com/alfianchii\"\u003eAlfian\u003c/a\u003e and \u003ca href=\"https://instagram.com/nata_ardhana\"\u003eSurya\u003c/a\u003e.\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianchii%2Fconfess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfianchii%2Fconfess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianchii%2Fconfess/lists"}