https://github.com/mmrosadev/book-rental-control-backend
NodeJS api to control book rental
https://github.com/mmrosadev/book-rental-control-backend
docker docker-compose koa nodejs postgres typeorm typescript
Last synced: about 1 month ago
JSON representation
NodeJS api to control book rental
- Host: GitHub
- URL: https://github.com/mmrosadev/book-rental-control-backend
- Owner: mmrosadev
- Created: 2024-10-11T22:11:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-13T15:11:40.000Z (3 months ago)
- Last Synced: 2025-04-05T21:24:57.088Z (about 1 month ago)
- Topics: docker, docker-compose, koa, nodejs, postgres, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 236 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# book-rental-control-backend
NodeJS api to manage book rental
### how to run this application by docker?
> docker compose up -d book-rental-control
> docker compose exec book-rental-control bash
> npm run migration:run
### how to run this application on local without docker?
- Install postgres
- Create connection for database
- Create database
- Adjust enviroment's variable in .env> npm run start
> npm run migration:run
### folder structure
- src
- domain
- entity (Domain entities)
- usecase
- infra
- datasource
- database
- entities (Persistence entities)
- migrations
- http
- controller
- repository