Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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