{"id":20866781,"url":"https://github.com/zeroonedev01/express-backend-rent-book-app","last_synced_at":"2026-04-10T17:02:31.460Z","repository":{"id":123843336,"uuid":"202383328","full_name":"zeroonedev01/express-backend-rent-book-app","owner":"zeroonedev01","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-01T04:47:18.000Z","size":62,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T08:42:42.105Z","etag":null,"topics":["database","express","jwt","mysql","postman"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeroonedev01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-14T16:01:36.000Z","updated_at":"2020-11-18T14:48:12.000Z","dependencies_parsed_at":"2023-12-28T11:57:37.027Z","dependency_job_id":null,"html_url":"https://github.com/zeroonedev01/express-backend-rent-book-app","commit_stats":null,"previous_names":["zeroonedev01/express-backend-rent-book-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroonedev01%2Fexpress-backend-rent-book-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroonedev01%2Fexpress-backend-rent-book-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroonedev01%2Fexpress-backend-rent-book-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroonedev01%2Fexpress-backend-rent-book-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroonedev01","download_url":"https://codeload.github.com/zeroonedev01/express-backend-rent-book-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243241348,"owners_count":20259572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","express","jwt","mysql","postman"],"created_at":"2024-11-18T05:59:06.184Z","updated_at":"2025-12-30T22:54:37.333Z","avatar_url":"https://github.com/zeroonedev01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eRent Book RESTfull API\u003c/h1\u003e\n\u003cp align='center'\u003e\n  \u003cimg src='https://smarttechies.files.wordpress.com/2015/10/node-express.png?w=605' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Built with Express.js and Mysql.\n\u003c/p\u003e\n\n## Table of Contents\n- [Table of Contents](#table-of-contents)\n- [Introduction](#introduction)\n- [Features](#features)\n- [Built With](#built-with)\n- [Requirements](#requirements)\n- [Usage for Development](#usage-for-development)\n- [Setup .env file](#setup-env-file)\n- [End Points](#end-points)\n- [Contributor](#contributor)\n\n## Introduction\nThis is my repository containing a Rest Full API backend Rent Book app, this API is builded with Mysql and Express.JS\n\n## Features\n* Register and Login with JWT\n* CRUD Books\n* CRUD Genre\n* Sorting \n* Filtering\n* Pagination\n* Search a books\n* Rent or returning a book\n\n## Built With\n[![React Native](https://img.shields.io/badge/Express%20-4.17.1-blue.svg?style=rounded-square)](https://expressjs.com/)\n[![Node.js](https://img.shields.io/badge/Node.js-v.10.16.2-green.svg?style=rounded-square)](https://nodejs.org/)\n[![MySQL](https://img.shields.io/badge/MySQL-v.10.16.2-orange.svg?style=rounded-square)](https://www.npmjs.com/search?q=mysql) \n[![jsonwebtoken](https://img.shields.io/badge/JWT-v.8.5.1-critical)](https://www.npmjs.com/package/jsonwebtoken)\n\n## Requirements\n* node.js\n* npm\n* postman (installer or chrome extension)\n* code editor (visual studio code recommend)\n* mysql (xampp)\n\n## Usage for Development\n* Clone this repository https://github.com/tejojr/express-backend-rent-book-app.git\n* Open CMD or Terminal and enter to the app directory\n* Type in Terminal npm install to install the required packages.\n* Setup .env file\n* Run MySql\n* Create database and run example.sql script to install the necessary database structure\n* Open Postman for testing API\n\n## Setup .env file\n* In windows OS, you can open command prompt, change directory to your project directory.\nExample,\nMy project directory \n  ```\n  E:\\my_project\n  ```\n* Then you can type,\n  ```\n  copy .env.example .env\n  ```\n* Then Setup .env   \n\n## End Points\n1. Genre\n* Post\n  ```\n  host/rentapp/genres\n  ```\n* Get\n  ```\n  host/rentapp/genres\n  host/rentapp/genres?page=1\u0026limit=2\u0026sort=name:desc\n  ```\n* Patch\n  ```\n  host/rentapp/genres/:id\n  ```\n* Delete\n  ```\n  host/rentapp/genres/:id\n  ```\n2.\tBook\n* Post\n  ```\n  host/rentapp/books/\n  ```\n* GET\n  ```\n  host/rentapp/books?sort=title:desc\u0026available=true\u0026page=1\u0026limit=2\n  ```\n* Patch\n  ```\n  host/rentapp/books/:id\n  ```\n* Delete\n  ```\n  host/rentapp/books/:id\n  ```\n\n\n3 Borrow\n* Post Borrow\n  ```\n  host/rentapp/borrows\n  ```\n* Patch returnbook\n  ```\n  host/rentapp/borrows/:id\n  ```\n* getBorrow\n  ```\n  host/rentapp/borrows/\n  ```\n\n4.user\n* post sign\n  ```\n  host/rentapp/users/signin\n  ```\n* post signup \n  ```\n  host/rentapp/users/signup\n  ```\n\n## Contributor\n\u003ca href=\"https://github.com/tejojr\"\u003e\n          \u003cimg width=\"100\" src=\"https://avatars2.githubusercontent.com/u/33275770?s=460\u0026v=4\" alt=\"Ammar Annajih Pasifiky\"\u003e\n          \u003cbr/\u003e\n          \u003csub\u003e\n          \u003cb\u003eAmmar Annajih Pasifiky\n          \u003c/b\u003e\n          \u003c/sub\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroonedev01%2Fexpress-backend-rent-book-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroonedev01%2Fexpress-backend-rent-book-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroonedev01%2Fexpress-backend-rent-book-app/lists"}