Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lg-training/ddd-intro-ts
๐The project has some good practices, it is basics to begin with NodeJS
https://github.com/lg-training/ddd-intro-ts
nodejs prisma-orm yarn
Last synced: 6 days ago
JSON representation
๐The project has some good practices, it is basics to begin with NodeJS
- Host: GitHub
- URL: https://github.com/lg-training/ddd-intro-ts
- Owner: lg-training
- Created: 2024-11-16T16:56:16.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T17:01:52.000Z (2 months ago)
- Last Synced: 2024-11-16T18:17:04.690Z (2 months ago)
- Topics: nodejs, prisma-orm, yarn
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ ๏ธ LogBook ฮผ-service Clean Architecture
> ๐The project has some good practices, it is basics to begin with NodeJS.
>[![lg-labs][0]][1]
[![License][2]][LIC]From **Lg Training** or **lgt**! Get a guide basic over some tools on study or practice mode.
For more information, check this pages https://lufgarciaqu.medium.com.
# Using NodeJs 22 with Yarn 1.22.22
[Support for Prisma][5]
## Take a tour
Vide reference [here][4].
## ๐ Build project
Using `makefile`Step 1/3: Install dependencies
```bash
make app-install
```
Step 2/3: Run app```bash
make app-build
```Step 3/3: Run app
```bash
make app-start
```## ๐ Run locally
Using `makefile`
```shell
make app-run
```
> The [Logbook API with Port 8080][3]> โ๏ธ Creating a Logbook with NAME=Example. _The **name** by default is Example._
>```bash
>make post-logbook
>```
>_Optionals: `make post-logbook NAME=OtherName` `make post-logbook POST_PAYLOAD='[JSON]' NAME=Other`_> โ๏ธ Getting an Offer with `LOGBOOK_ID=UUID`. _The **logbookId** by default is 38b04fc5-349b-4e5b-9531-c35b3153a0cc._
>```bash
>make get-logbook LOGBOOK_ID=REPLACE_BY_UUID
>```
>_Optionals: `make get-logbook LOGBOOK_ID=UUID`__The `Sqlite` database and mng migration with `liquibase`._
## ๐Contents
### What can you do?
- [x] POST /logbooks
- [x] GET /logbooks
---
- [x] ORM Prisma## โ๏ธ License
The MIT License (MIT). Please see [License][LIC] for more information.
[0]: https://img.shields.io/badge/LgLabs-community-blue?style=flat-square
[1]: https://lufgarciaqu.medium.com
[2]: https://img.shields.io/badge/license-MIT-green?style=flat-square[3]: http://localhost:8080
[4]: https://www.youtube.com/watch?v=f7Su4KoqSio&t=366s
[5]: https://github.com/prisma/prisma/issues/25560#issuecomment-2462151407[LIC]: LICENSE
[img1]: https://github.com/lg-labs-pentagon/lg-labs-boot-parent/assets/105936384/31c27db8-1e77-478d-a38e-7acf6ba2571c