Skip to content

Restful API management system for library implements DDD and Clean Architecture

Notifications You must be signed in to change notification settings

Anggito02/library_management_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Information

Description

This Back-End project is a library book-rental system. It is a REST API that allows you to manage books and users. It is developed with Express.js, Sequelize, and MySQL.

Project initialization

Installation

$ npm install

Running the app

  1. Make sure you have MySQL installed and running on your machine.
  2. Create a database named db_library.
  3. Create a config.json file in the config directory and add the following variables:
{
  "development": 
  {
    "username": "root",
    "password": "your_password",
    "database": "db_library",
    "host": "localhost",
    "dialect": "mysql"
    "migration-path": "/database/migrations",
    "seeders-path": "/database/seeders",
  }
}
  1. Run the following commands to run and undo the migration:
$ npm run migrate
$ npm run migrate:undo
  1. Run the following command to start the server:
# development
$ npm run start

About

Restful API management system for library implements DDD and Clean Architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages