this is just a simple API for my Library app
project
- users can get book data
- users can insert book data and upload photo
- users can access their inserted book data and uploaded photo
- users can see their history activity when borrowed book
- you can only see data in JSON except for uploaded photo,you can see image instead
-
Clone this Repository
-
Open the folder and type
npm install
-
Create Environment Variable
$ touch .env
Fill in the code below into .env file
DB_HOST="Your_Host" DB_USER="Your_Username" DB_PASS="Your_Password" DB_NAME="Your_Table"
-
And then ,type
npm start
for run this app. -
you can see the result in browser or postman instead for more costumized tools
-
To see the example result in postman ,just click this button then import to your postman
Khadam ikhwanus shofa |