Package for creating entity framework in a nodejs project based on Laravel artisan system.

Overview

Artisan

Dependencies

  1. nodejs

Installations

  1. Install the package in your project with the command npm i @filipeas/artisan.
  2. Digit the command yarn for install dependencies.

Uninstall

  1. Digit the command npm rm @filipeas/artisan for remove package in yours dependencies.

Commands

  • All commands of artisan: npx artisan.
  1. --create entity <nome_da_entidade> [create a entity in src/domain/]
  2. --init [initialize a project]
  3. --help [get help for commands]
  4. --version [get version of artisan]

Structure

  • The command artisan --create entity <entity> creates an entity in the src/domain/ directory at the root of your project:
  • src/
  • ---/domain/
  • ----------/entity/
  • -----------------/dtos/
  • -----------------/infra/
  • -----------------------/typeorm/
  • -------------------------------/entities/
  • -------------------------------/repositories/
  • -----------------/repositories/
  • -----------------/request/
  • -----------------/response/
  • -----------------/useCases/
  • The command artisan --init command performs the initial structuring of the project with the artisan pattern:
  • ---/@types/
  • ----------/express/
  • ---/infra/
  • ---------/http/
  • --------------/container/
  • --------------/errors/
  • --------------/middlewares/
  • --------------/routes/
  • --------------/validations/
  • ---------/typeorm/
  • -----------------/migrations/
Comments
  • Fix: file ident

    Fix: file ident

    Aditions A simple logic to guarantee file names are correct spelled with CamelCaseUp name = name.charAt(0).toUpperCase() + name.slice(1);

    Removed Nothing was removed in this request.

    Corrections Identation problems at

    • v2/application/create/files/repository.js
    • v2/application/create/files/usecase.js
    • v2/application/create/domain
    • v2/application/create/infra/controller.js

    *Edit: Add Aditions part.

    opened by Germano123 0
  • [Production] release 0.3.5

    [Production] release 0.3.5

    Release Update - June 25, 2022

    News

    1. refactory project

    Improvements

    1. new pattern for creating files and directories
    2. files of config for start project

    Bug Fixes

    1. Fix local of creation of dir and files
    2. Fix creation files and dir of command --create
    3. Fix creation files and dir of command --init
    bug enhancement 
    opened by filipeas 0
  • Criar separação de estrutura

    Criar separação de estrutura

    • Default: estrutura de pasta e arquivos já implementados

    • v1: nova estrutura no rennan

    • Deve haver um arquivo de configuracao gerado com o comando --init. Esse arquivo controlará a estruturação do projeto (arquivos e pastas).

    opened by filipeas 0
  • Adicionar melhorias na versão 0.2.11

    Adicionar melhorias na versão 0.2.11

    • Melhorias:
    • comando para criar useCase
    • comando para criar request
    • comando para criar response
    • quando criar uma entidade, escrever singleton no container/index.ts
    opened by filipeas 0
  • [Production] Release v0.2.8

    [Production] Release v0.2.8

    • Implementations and bug fixes:
    1. Fix imports in --init command creation files
    2. development/production control system
    3. Fix key/value insertion location in package.json file
    4. problem creating the http/ directory
    5. create migration file in --init and --create command
    6. create user authentication usecase in --init command
    7. fix the type of the @types/express index file
    8. fix readme.md
    9. fix key scripts into package.json
    bug documentation 
    opened by filipeas 0
  • [Production] Release 0.2.7

    [Production] Release 0.2.7

    • Implementations and fixes:
    1. Fix imports in --init command creation files
    2. development/production control system
    3. Fix key/value insertion location in package.json file
    4. problem creating the http/ directory
    5. create migration file in --init and --create command
    6. create user authentication usecase in --init command
    7. fix the type of the @types/express index file
    bug documentation enhancement 
    opened by filipeas 0
Releases(0.3.5)
  • 0.3.5(Jun 25, 2022)

    Release Update - June 25, 2022

    News

    1. refactory project

    Improvements

    1. new pattern for creating files and directories
    2. files of config for start project

    Bug Fixes

    1. Fix local of creation of dir and files
    2. Fix creation files and dir of command --create
    3. Fix creation files and dir of command --init
    Source code(tar.gz)
    Source code(zip)
  • 0.2.11(Apr 10, 2022)

    Release Update - April 10, 2022

    News

    1. create migration file in --init and --create command
    2. create user authentication usecase in --init command

    Improvements

    1. development/production control system

    Bug Fixes

    1. Fix imports in --init command creation files
    2. fix readme.md
    3. fix key scripts into package.json
    4. fix the type of the @types/express index file
    5. problem creating the http/ directory
    6. fix key/value insertion location in package.json file
    7. fix key scripts in package.json
    Source code(tar.gz)
    Source code(zip)
  • 0.2.0(Apr 8, 2022)

    Release Update - April 08, 2022

    News

    • Package refactoring for entity creation command and project startup system creation with artisan pattern.

    Improvements

    • Implementations list:
    1. artisan --init command
    2. refactoring artisan --create entitty command
    3. Implementation of init.js file to create project startup
    4. creating additional files to create the files from the infra/ directory
    5. update to version 0.2.0

    Bug Fixes

    • No fixes implemented.
    Source code(tar.gz)
    Source code(zip)
  • 0.0.5(Apr 6, 2022)

  • 0.0.3(Apr 6, 2022)

    Release Update - April 05, 2022

    News

    • Implementations for this version:
    1. Create entity command. [npx artisan create --entity <entity_name>]

    Improvements

    • No improvements were implemented, as this is the first version that sought to implement only the functionality of creating an entity by command line.

    Bug Fixes

    • Currently no bugs found
    Source code(tar.gz)
    Source code(zip)
Owner
Filipe A.S
Desenvolvedor Web Graduando em Ciência da Computação, UFPI Teresina - PI
Filipe A.S
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
The Frontend of Escobar's Inventory Management System, Employee Management System, Ordering System, and Income & Expense System

Usage Create an App # with npx $ npx create-nextron-app my-app --example with-javascript # with yarn $ yarn create nextron-app my-app --example with-

Viver Bungag 4 Jan 2, 2023
Package fetcher is a bot messenger which gather npm packages by uploading either a json file (package.json) or a picture representing package.json. To continue...

package-fetcher Ce projet contient un boilerplate pour un bot messenger et l'executable Windows ngrok qui va permettre de créer un tunnel https pour c

AILI Fida Aliotti Christino 2 Mar 29, 2022
The best shop by Laravel framework.

Introduction The shopline is an open-sourcem free and advance eCommerce with Laravel framework. Shopline can help you to make your shop easy fast & fr

Milwad 35 Dec 27, 2022
A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

CTSP- Create TS Project A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and conf

Jean Rodríguez 7 Sep 13, 2022
a VS Code Extension for Easily Localize any blade/php text in any Laravel project.

Laravel Easy Localize a VS Code Extension for Easily Localize any blade/php text in any Laravel project. Features Custom array key for each translatio

Moataz Hajres 6 Oct 31, 2022
complete laravel 9 pos sales project - برنامج ادارة المبيعات والمخازن والمشتريات والحسابات وخطوط الانتاج لارافيل 9 ❤ لاتنسونا من صالح الدعاء

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 49 Jan 2, 2023
The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to the management of the data of the Members of the Persis Youth based on information technology systems

landing-page-pp landing-page-pp.vercel.app #The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to

Hilman Firdaus 6 Oct 21, 2022
This project is based on my nodejs starter kit. Simple CRUD project.

nodejs-crud-project Author - Akhil Sharma This project uses the nodeJS-starter project on my github. Just a demo to show you could build any project w

Akhil Sharma 105 Dec 16, 2022
Instruction how to install laravel echo and pusher without vuejs or even npm

This 2 .js files are used to listen from server broadcasting with laravel-websockets, so that you don't need the use of Vue.js in your laravel app Fol

Muath Assawadi 7 Sep 28, 2022
esbuild plugin to generate mix-manifest.json file compatible with Laravel Mix.

esbuild-mix-manifest-plugin An esbuild plugin to generate a mix-manifest.json compatible with Laravel Mix. Installation You can install the plugin via

Stefan Zweifel 6 Dec 25, 2022
Arquivos do Curso de Laravel 9.x

Setup Docker Para Projetos Laravel 9 com PHP 8 Assine a Academy, e Seja VIP! Passo a passo Clone Repositório git clone https://github.com/especializat

EspecializaTi 56 Dec 6, 2022
A demo app showingcasing laravel-livewire-wizard

A demo of spatie/laravel-livewire-wizard This repo contains a Laravel app to showcase the spatie/laravel-livewizard package. Usage Clone the repo Copy

Spatie 52 Dec 29, 2022
E-commerce website using Laravel, Tailwindcss and Alpine.js

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

TheCodeholic 15 Dec 12, 2022
🍺 Integrates Laravel Pint into your VSCode projects for automatic code formatting

Laravel Pint for VS Code This extension is NOT official from the Laravel team. Take a look into the official project. Integrates Laravel Pint into you

Open Southeners 34 Dec 8, 2022
This is a Laravel admin using Stisla as a template.

Getting Strated Installation Clone the repository https://github.com/syahdham/stisla-laravel-base.git or [email protected]:syahdham/stisla-laravel-base.

Idhamsyah 52 Dec 26, 2022
A Laravel Blade parser, compiler, and static analyzer written in TypeScript.

Blade Parser This library provides a Laravel Blade parser written in TypeScript. In addition to being able to parse Blade template files, this library

Stillat 7 Jan 4, 2023