hafizulf / book-loan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Book Loan

Description

Book Loan API Spesification

Tech Stack

Installation

  • Clone the repository

      git clone https://github.com/hafizulf/book-loan
  • Install dependencies

      # checkout to directory
      cd book-loan
    
      # install
      npm install
  • Create new database

  • Create .env file & set database url, etc

      # example
      DATABASE_URL="postgresql://postgres:postgres@localhost:5432/dbname?schema=public"
  • Run migration

      npx prisma migrate dev

Usage

  • Start the server

      npm run start
  • Run tests

      npm run test
  • Server is running on http://localhost:${APP_PORT}

  • Access documentation at http://localhost:${APP_PORT}/api

Contributing

  • Fork the repository
  • Create a new branch
  • Create a pull request

License

MIT

Author

Hafizul Furqan

Version

0.0.1

Changelog

  • 0.0.1: Initial release

About


Languages

Language:TypeScript 94.4%Language:JavaScript 5.6%