Git Product home page Git Product logo

peminjaman-laptop's Introduction

Peminjaman laptop

project ini untuk peminjaman laptop di sekolah

Installation

Install my-project with composer

  git clone https://github.com/AvinFajarF/peminjaman-laptop.git
  cd peminjaman-laptop
  composer install
  php artisan migrate

untuk menajalankan project

  php artisan serve

API Reference

register

  POST /api/v1/register
Parameter Type Description
username string Required
password string Required
email email Required
number_phone integer Required
address string Required
class integer Required

login

  POST /api/v1/login
Parameter Type Description
email string Required
password string Required

User Management

get all user

  GET /api/v1/dashboard/user

create

  POST /api/v1/dashboard/user
Parameter Type Description
username string Required
password string Required
email email Required
number_phone integer Required
address string Required
class integer Required

update user

  PUT /api/v1/dashboard/user/{id}
Parameter Type Description
username string Optional
password string Optional
email email Optional
number_phone integer Optional
address string Optional
class integer Optional

Delete User

  DELETE /api/v1/dashboard/user/{id}

Laptop Management

get all laptop

  GET /api/v1/dashboard/laptop

create

  POST /api/v1/dashboard/laptop
Parameter Type Description
code string Required
brand string Required

update laptop

  PUT /api/v1/dashboard/laptop/{id}
Parameter Type Description
code string Optional
brand string Optional

Delete Laptop

  DELETE /api/v1/dashboard/laptop/{id}

Rent Laptop

get all rent laptop

  GET /api/v1/dashboard/laptop/rent

rent / loan

  POST /api/v1/laptop/rent/loan/{id}
Parameter Type Description
id integer Required id laptop

update laptop

  PUT /api/v1/laptop/rent/return/{id}
Parameter Type Description
id integer Optional id laptop

peminjaman-laptop's People

Contributors

avinfajarf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

peminjaman-laptop's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.