A simple ToDo application backend with API.
- Lightweight API
- Built with Laravel
- Works with any frontend
- Easy to Deploy & Contribute.
Install ToDo Application with Composer
git clone https://github.com/shishamchudal/Todo.git
cd ToDo
composer install
npm install && npm run dev
laravel serve
php artisan key:generate
To run this project, you will need to add the following environment variables to your .env file
DB_CONNECTION
DB_HOST
DB_PORT
DB_DATABASE
DB_USERNAME
DB_PASSWORD
GET /api/items
POST /api/items
Parameter | Type | Description |
---|---|---|
name |
string |
Required. Name for the ToDo Item. |
GET /api/items/{item}
Parameter | Type | Description |
---|---|---|
item |
numeric |
Required. Id of item to fetch |
PATCH|PUT /api/items/{item}
Parameter | Type | Description |
---|---|---|
item |
numeric |
Required. Id of the item to be updated. |
DELETE /api/items/{item}
Parameter | Type | Description |
---|---|---|
item |
numeric |
Required. Id of the item to be deleted. |
To run tests, run the following command
php artisan test
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
I am a full stack web developer based on the Capital of Nepal, Kathmandu. Currently learning VueJs.