This is a basic CRUD application to, in this case, organize information about students.
- PHP
- Composer
- Laravel
- MySQL
- Railway
First of all you must clone the repository:
git clone https://github.com/jezbravo/laravel-crud-api.git
cd laravel-crud-api
Then install the dependencies:
php artisan install:api
And run the db migration:
php artisan migrate
Once everything is ready:
php artisan serve
As this is a backend-focused application, it does not have its own frontend graphical interface for client interaction yet. Instead you can try the different requests using services like Postman to the following routes:
GET, POST:
https://laravel-crud-api-production-816a.up.railway.app/api/students
GET, PUT, PATCH, DELETE:
https://laravel-crud-api-production-816a.up.railway.app/api/students/{id}
Here is an example template with the required fields for the request body:
{
"name": "test_user_name_0",
"email": "test_user_name_0@email.com",
"phone": "0123456789",
"language": "en"
}