Skip to content

rehanzproject/lumen_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Introduction

Lumen is a Stunningly Fast PHP Micro-Framework By Laravel. Which for develop an APIs.

Set up

Make sure you have installed PHP 7.4.29 and XAMPP Control Panel 3.3.0 , and Postman

Run Server

To run on server , Run the following command :
cd kuliah-tamu ,then php -S localhost:8000 -t public .
If the terminal is showing PHP 7.4.29 Development Server (http://localhost:8000) started
, Now, your project is running .If you want to stop , click Ctrl + C

Set - up .env

Change your file .env like PHPmyadmin on your PC
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=yourdb
DB_USERNAME=root
DB_PASSWORD=

PhpmyAdmin & Postman

Start Apache and MySQL in XAMPP and Create new databases whatever you want and create new table.
Then , Create columns. For example, id(int) , name(varchar) , age(int) .
Open your Postman and Enter request URL localhost:8000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published