Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surojcodes/potcoders
A Laravel 7 (PHP Framework) blog application utilizing various core features of the framework.
https://github.com/surojcodes/potcoders
database laravel mysql-database php-framework
Last synced: about 1 month ago
JSON representation
A Laravel 7 (PHP Framework) blog application utilizing various core features of the framework.
- Host: GitHub
- URL: https://github.com/surojcodes/potcoders
- Owner: surojcodes
- Created: 2020-06-23T03:58:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T09:39:07.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T09:23:55.134Z (almost 2 years ago)
- Topics: database, laravel, mysql-database, php-framework
- Language: PHP
- Homepage: http://potcoders.herokuapp.com/
- Size: 2.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PotCoders
>A Laravel 7 (PHP Framework) blog application utilizing various core features of the framework.
## Usage
Create a database, mailtrap account (or any) and populate .env copy file with the credentials. Rename it to .env#### Migration
First perform the migration for the tables in the database```
php artisan migrate
```
#### To run server
```
php artisan serve
```#### Admin Account
To make any account an admin account, manually set 'isAdmin' column in the user table to 1.
***
## Basic Features
* Complete Login and Registration System
* Roles : unregistered, publisher and admin
* Unregistered user can
* create an account
* view all blog posts
* contact using a form in website which sends email (markdown system used) to the admin (address defined in .env file)
* donate to site (payment not integrated)
* click on a tag below a blog to view all the blogs with the tag
* Registered Users can
* reset their password
* create tags (which they own but can be used by all users)
* crate blog posts with tags
* View/Edit/Delete their blog posts and their tags
* donate to site
***
## Point system
* Each user have some points (0 when they register)
* For each blog post a user makes, he/she will receive 5 points
* If a user donates Nrs X then X point will be added
* To implement point system, concept of **Laravel Events and Listeners** have been used
***
## Notifications
Upon donation, besides point increment via listeners, two notification will be sent
* **Email Notification**
* An email with a thank you message will be send using markdown
* **Database Notification**
* In the dashboard, user can see the unread ntifications.
* The user can mark each notification as read or mark all notifications as read at once
***
## Authorization
* A publisher can modify and delete his/her own blogs and tags only.
* An admin has previlege to modify and delete any publisher's tags and blogs
* **Gate and Policies** feature of Laravel has been used for authorization.***
## UI
A very simple user interface using Bootstrap 4.0 which makes the site fully responsive.***
## What can be added?
* Soft Deletes
* PUblish/Save Drafts
* WYSIWYG for blog content
* Like and Comment Feature to blog posts
* Image upload for blog and user profile*Send me a pull request.*
***
## Screenshot
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot1.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot2.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot3.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot4.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot5.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot6.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot7.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot8.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot9.PNG)
***
![alt tag](https://surojmaharjan0.github.io/projectimages/images/pot10.PNG)
***
Website is live [here](http://potcoders.herokuapp.com/)
* Version **1.0**
* Author **Suroj Maharjan**