https://github.com/alnahian2003/larapi
My very first REST API project in Laravel
https://github.com/alnahian2003/larapi
laravel-api rest-api
Last synced: about 2 months ago
JSON representation
My very first REST API project in Laravel
- Host: GitHub
- URL: https://github.com/alnahian2003/larapi
- Owner: alnahian2003
- Created: 2022-10-31T15:34:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T19:41:40.000Z (7 months ago)
- Last Synced: 2025-02-09T01:41:26.623Z (4 months ago)
- Topics: laravel-api, rest-api
- Language: PHP
- Homepage:
- Size: 207 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Larapi — My First REST API Using Laravel
This project was completed within a few hours. I know a lot of things can be implemented. Am learning to build and play with APIs in Laravel.

## Documentation
Run this project in your local server, then navigate to `/request-docs` for more documentation. documentation was generated using [Laravel Request Docs](https://github.com/rakutentech/laravel-request-docs) package.
**Run this project to learn more about request/response!**
## How To Use
1. Clone this repository
```bash
git clone https://github.com/alnahian2003/larapi.git
```2. Install all the dependencies using composer and npm
```bash
composer install
```3. Copy the example env file and make the required configuration changes in the `.env` file
```bash
cp .env.example .env
```4. Generate a new application key
```bash
php artisan key:generate
```5. Run the database migrations (Set the database connection in `.env` before migrating)
```bash
php artisan migrate
```6. Start the local development server
```bash
php artisan serve
```**Enjoy!**