mirror of
https://github.com/JGH0/Todo-App-Backend.git
synced 2026-06-03 13:28:47 +02:00
Add auth test suite, API tests and database migration tests
This commit is contained in:
@@ -6,3 +6,8 @@ use CodeIgniter\Router\RouteCollection;
|
||||
* @var RouteCollection $routes
|
||||
*/
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->get('/auth/login', 'Auth::login');
|
||||
$routes->post('/auth/attemptLogin', 'Auth::attemptLogin');
|
||||
$routes->post('/auth/attemptRegister', 'Auth::attemptRegister');
|
||||
$routes->get('/auth/logout', 'Auth::logout');
|
||||
|
||||
Reference in New Issue
Block a user