Skip to content

This is todoApp project made with Laravel 6, JWT for authntication and mongoDB as database server

Notifications You must be signed in to change notification settings

SidneyHodieb/TodoLaravel6API

Repository files navigation

Laravel 6 Todo APP API

This is a todo with JWT for users authentication made with laravel 6 and mongoDB as database server

HOW TO START

npm install

php artisan serve

db name = aostodo

Apllicarion will start on port 8000

API ROUTES

api/login : Route::post("login", "AuthController@login") : To connect a user;

api/register : Route::post("register", "AuthController@register"); : To register a new user

api/logout : Route::get("logout", "AuthController@logout"); : To logout a user

Route::resource("tasks", "TaskController"); <br>

GET api/tasks : All tasks for an authenticated user

POST api/tasks : Create a task

PATCH api/tasks/{id} : update a task

DELETE api/tasks/{id} : Delete a task

About

This is todoApp project made with Laravel 6, JWT for authntication and mongoDB as database server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published