This repo contains all the code for a simple todo list application built using the Laravel Framework and the Bootstrap CSS Framework.
Your assignment is to add a feature that satisfies this user story:
As a user, I want to be able to click on a individual todo to see more detail about the task.
- For local development, Fork and clone this repository and set it up as a local app running inside Homestead.
- Follow the installation instructions below once you have set it up in Homestead.
- You will notice that the application allows you to add a todo, view all todos, and delete a todo. Todos are composed of a
name
and adescription
. Your assignment is to link each todo to it's own page (i.e. http://ds-todos.test/todo/2
) that displays both the name and description of the todo.
IMPORTANT: This repo uses Laravel 5.2 make sure you are viewing the correct documentation at https://laravel.com/docs/5.2/
After the initial Homestead installation vagrant ssh
into the vagrant box, head to the project directory and run composer to install all the project dependencies:
$ composer install
Once all vendor dependencies are installed, copy the .env.example
file to a new .env
and run php artisan key:generate
Then, while still ssh'ed in your Homestead box, run the migrations to setup the database and seed it:
$ php artisan migrate
$ php artisan db:seed
Now you should be all set! Go to the url you set up in Homestead (i.e http://ds-todos.test
or whatever you url you setup in your /etc/hosts file) in your browser and you should see your freshly installed application.
- If you need any clarification on these instructions, send questions my way and I will answer them to the best of my ability. My email address is
ssmith@dosomething.org
- Use any further documentation you want to complete the assignment, but the laravel documentation is pretty solid. Check it out!
- Bonus: feel free to make the app look better, not required, but it is pretty hard to look at as it stands now.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the framework can be found on the Laravel website.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license