A journal where a user can add entries for online courses that they have taken created with Laravel and with a help from this helpful Laravel tutorial.
- Laravel 8
- MySQL 8
- PHP 7
- Download and unzip the project.
- Run
composer install. - Set up a MySQL database and connect to it.
- Create an .env file and put in the relevant data (look at the example file).
- If you want to enable email functionality (like sending a password reset email), you will have to edit the mail settings in the .env file as well.
- Run
php artisan migrate. - (Optional) If you want to use the provided categories, run
php artisan db:seed --class=CategoryTableSeeder. - Run
php artisan serve. - Go to
localhost:{PORT_NUMBER}in your browser.
/: Index/dashboard: Home/register: Registration form/login: Login form
/categories: Listing of all categories/categories/{category_id}: Listing of all entries for a category/categories/create: Add a new category/categories/{category_id}/edit: Edit an existing category
/users/{user_id}/entries: Listing of all entries in descending order by date added/users/{user_id}/entries/{entry_id}: A single entry/users/{user_id}/entries/create: Add a new entry/users/{user_id}/entries/{entry_id}/edit: Edit an existing entry
/users: Listing of all registered users/users/{user_id}: Listing of all entries for a user/user/profile: User settings
- (GET)
/categories: Listing of all categories - (GET)
/categories/{category_id}: A single category - (POST)
/categories: Create a category - (PUT/PATCH)
/categories/{category_id}: Edit an existing category - (DELETE)
/categories/{category_id}: Delete a category
- (GET)
/users/{user_id}/entries: Listing of all entries - (GET)
/users/{user_id}/entries/{entry_id}: A single entry
- (GET)
/users: Listing of all registered users - (GET)
/users/{user_id}: A single user
- Added API functionality.
- Fixed the bug that enabled users to see other users' entries.
- Implemented user authentication.