https://github.com/mochrks/crud-laravel-api
implements a CRUD API using the Laravel framework. It includes Create, Read, Update, and Delete operations for defined entities with a clean and modular code structure.
https://github.com/mochrks/crud-laravel-api
laravel postgresql
Last synced: 3 months ago
JSON representation
implements a CRUD API using the Laravel framework. It includes Create, Read, Update, and Delete operations for defined entities with a clean and modular code structure.
- Host: GitHub
- URL: https://github.com/mochrks/crud-laravel-api
- Owner: Mochrks
- Created: 2024-11-21T07:15:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T02:42:18.000Z (over 1 year ago)
- Last Synced: 2025-01-12T08:36:01.972Z (over 1 year ago)
- Topics: laravel, postgresql
- Language: PHP
- Homepage:
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CRUD API Laravel
### Project Overview
This project is a RESTful API for Order Management built using **Laravel**, utilizing **Composer** for dependency management, and **PostgreSQL** as the database. It provides comprehensive endpoints for managing orders, menus, carts, and vouchers.
### Tech Stack & Dependencies




### Setup & Installation
- **Clone the repository**
```bash
git clone https://github.com/Mochrks/crud-laravel-api.git
cd crud-laravel-api
```
- **Install dependencies**
```bash
composer install
```
- **Configure Database**
- Rename `.env.example` to `.env` and update your PostgreSQL credentials:
```dotenv
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password
```
- **Generate application key**
```bash
php artisan key:generate
```
- **Run migrations**
```bash
php artisan migrate
```
- **Run the application**
```bash
php artisan serve
```
## Connect with me:
[](https://github.com/mochrks)
[](https://youtube.com/@Gdvisuel)
[](https://instagram.com/mochrks)
[](https://linkedin.com/in/mochrks)
[](https://behance.net/mochrks)
[](https://dribbble.com/mochrks)