Skip to content

Example Laravel web app created for the CS50 seminar "Building Dynamic Web Apps with Laravel"

Notifications You must be signed in to change notification settings

ericouyang/blog50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog50

This is a simple Laravel app for a blog website to demonstrate key features of this web framework

Companion slides: https://www.dropbox.com/s/nmi8sryhnl8voqo/eouyang_cs50_laravel-seminar_slides.pdf?dl=0

It is recommended that you run this example on the CS50 Appliance

Setup

  1. Install composer (for dependency management)

curl -sS https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

  1. Download the repository.

Distribution code: git clone https://github.com/ericouyang/blog50.git

Completed example: git clone -b completed https://github.com/ericouyang/blog50.git

  1. Navigate into the new blog50 folder and install dependencies

composer install

  1. If you're running the completed example, you need to create the database called blog50 and then run

php artisan migrate

  1. Run the server using

php artisan serve

  1. Go to this in your browser

http://localhost:8000

About

Example Laravel web app created for the CS50 seminar "Building Dynamic Web Apps with Laravel"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published