An open API service indexing awesome lists of open source software.

https://github.com/bagusvalentinoo/library-management-system-api

Manage your library effortlessly with our API! Built on JavaScript, Node.js, and Express.js, it brings a seamless experience. Authenticate securely with JWT, requiring an API key for access. Yarn handles packages, and Jest ensures code reliability.
https://github.com/bagusvalentinoo/library-management-system-api

api-key express javascript jest jsonwebtoken library-management-system node-js rest-api sequelize-orm unit-testing

Last synced: 16 days ago
JSON representation

Manage your library effortlessly with our API! Built on JavaScript, Node.js, and Express.js, it brings a seamless experience. Authenticate securely with JWT, requiring an API key for access. Yarn handles packages, and Jest ensures code reliability.

Awesome Lists containing this project

README

          

# Library Management System

### API Documentation
https://documenter.getpostman.com/view/17470787/2sA2xiWrmd

### How to Use
1. Clone the repository
2. Open terminal and navigate to the directory
3. Run `yarn install`
4. Run `yarn start`

### Commands
1. Run migrations: `yarn run migrate`
2. Run migrations and seeders: `yarn run migrate:seed`
3. Run migrations rollback: `yarn run migrate:rollback`
4. Run migrations fresh: `yarn run migrate:fresh`
5. Run migrations fresh and seeders: `yarn run migrate:fresh:seed`

### Run Tests
1. Run `yarn test`

### Test Results
![date_time.test.js](https://raw.githubusercontent.com/bagusvalentinoo/library-management-system-api/main/test-results/unit/date_time.test.js.jpg)

![response.test.js](https://raw.githubusercontent.com/bagusvalentinoo/library-management-system-api/main/test-results/unit/response.test.js.jpg)

![query.test.js](https://raw.githubusercontent.com/bagusvalentinoo/library-management-system-api/main/test-results/unit/query.test.js.jpg)

![string_formatted.test.js](https://raw.githubusercontent.com/bagusvalentinoo/library-management-system-api/main/test-results/unit/string_formatted.test.js.jpg)