DESAIN SISTEM BACKEND BERBASIS REST API MENGGUNAKAN FRAMEWORK LARAVEL 7

  • Hendrik Fery Herdiyatmoko Hendrik Fery Herdiyatmoko Fakultas Sains dan Teknologi, Universitas Katolik Musi Charitas, Universitas Katolik Musi Charitas
Keywords: Web Service, REST API, JSON

Abstract

Bagian backend adalah ruang logis dengan fungsionalitas dan pengoperasian aplikasi perangkat lunak atau sistem informasi. Salah satu implementasinya adalah sistem backend berbasis RESTful. RESTful adalah arsitektur pertukaran data menggunakan protokol HTTP. RESTful atau REST Server menyediakan data untuk diakses oleh REST Client menggunakan pertukaran data dalam format JSON. Masalah dalam penelitian ini bagaimana membangun rest server yang didukung perangkat yang aman, mendukung otomatisasi/artisan, dukungan package yang mudah, dan dukungan MVC. Tidak semua framework PHP mendukung kebutuhan tersebut kecuali Framework Laravel. Framework Laravel menyediakan mekanisme untuk membangun REST Server melalui library Rest Server yang mendukung implementasi RESTful server secara penuh. Pada penelitian ini dibangun REST Server yang dapat menjalankan fungsi dasar CRUD. Hasil dari endpoint yaitu mendapatkan respon dari server berupa JSON. Hasil dari penelitian menghasilkan restful API atau REST Server dengan menggunakan empat http request yaitu GET, POST, PUT dan DELETE yang merupakan metode dasar dari REST Server dan telah diuji responnya menggunakan Postman.

Downloads

Download data is not yet available.

References

[1] J. Hendler, “Web 3.0 Emerging,” Computer, vol. 42, no. 1, pp. 111-113, 2009.
[2] R. T. Fielding, “Architectural Styles and the Design of Network-based Software Architectures,” Theses for PhD, pp. 162, 2000.
[3] D. Serrano, E. Stroulia, D. Lau, and T. Ng, “Linked REST APIs: A Middleware for Semantic REST API Integration,” Proc. - 2017 IEEE 24th Int. Conf. Web Serv. ICWS 2017, pp. 138–145, 2018.
[4] K. Boonchuay, Y. Intasorn, and K. Rattanaopas, “Design and implementation a REST API for association rule mining,” 2017 14th International Conference on Electrical Engineering Computer Telecommunications and Information Technology (ECTI-CON), pp. 668–671, 2017.
[5] M. M. Hidayat, R. Dimas Adityo, and A. Siswanto, “Design of Restaurant Billing System (E Bill Resto) by Applying Synchronization of Data Billing in Branch Companies to Main Companies Based on Rest API,” Proceeding - ICoSTA 2020 2020 International Conference Smart Technology Appl. Empower. Ind. IoT by Implement. Green Technol. Sustain. Dev., 2020.
[6] M. Hosono, H. Washizaki, Y. Fukazawa, and K. Honda, “An Empirical Study on the Reliability of the Web API Document,” Proc. - Asia-Pacific Softw. Eng. Conf. APSEC, vol. 2018-December, pp. 715–716, 2018.
[7] X. Chen, Z. Ji, Y. Fan, and Y. Zhan, “Restful API Architecture Based on Laravel Framework,” J. Phys. Conf. Ser., vol. 910, no. 1, 2019.
[8] F. Andry, L. Wan, and D. Nicholson, “A mobile application accessing patients’ health records through a rest API: How REST-style architecture can help speed up the development of mobile health care applications,” Heal. 2011 - Proc. Int. Conf. Heal. Informatics, pp. 27–32, 2019.
[9] M. J. Eccles, D. J. Evans, and A. J. Beaumont, “True real-time change data capture with web service database encapsulation,” Proc. - 2010 6th World Congr. Serv. Serv. 2010, pp. 128–131, 2020.
[10] T. Katayama, M. Nakao, and T. Takagi, “TogoWS: Integrated SOAP and REST APIs for interoperable bioinformatics web services,” Nucleic Acids Res., vol. 38, no. 2, pp. 706–711, 2010.
[11] T. Haselmann, G. Thies, and G. Vossen, “Looking into a REST-based API for database-as-a-service systems,” Proc. - 12th IEEE International Conference on Commerce Enterprise Computing CEC 2010, pp. 17–24, 2020.
[12] A. A. Kayode and A. O. Alabi, “Design and Implementation of a Simplified CodeIgniter Framework for Commercial Vehicles Ticket Reservation System,” Asian J. Res. Computer Science, vol. 7, no. 2, pp. 1–12, 2021.
[13] D. E. K. Mahardika and M. U. Siregar, “Design and Development of Web Based Employee Payroll Information System Using Codeigniter Framework and Extreme Programming Method,” IJID (International Journal Informatics Dev., vol. 7, no. 2, p. 1, 2019.
[14] K. Togias and A. Kameas, “An ontology-based representation of the twitter REST API,” Proc. - International Conference on Tools with Artificial Intelligence. ICTAI, vol. 1, April 2015, pp. 998–1003, 2018.
[15] “Learn UML Simply Easy Learning.” [Online]. Available: https://www.tutorialspoint.com/uml/index.htm. [Accessed: 15-Mar-2019].
Published
2022-07-26
How to Cite
[1]
H. Herdiyatmoko, “DESAIN SISTEM BACKEND BERBASIS REST API MENGGUNAKAN FRAMEWORK LARAVEL 7”, SKANIKA, vol. 5, no. 2, pp. 136-144, Jul. 2022.