Giter Site home page Giter Site logo

example-cars-brands-console's Introduction

Example Cars-Brand-Console (commander)

workflow

Клиентское приложение:

  1. Node.JS
  2. TypeScript
  3. Интерпретатор командной строки. В параметрах обязательно должны быть действие и аргументы этого действия в любом формате.
  4. При запуске из командной строки с параметрами нужно выполнять подключение к Серверу и выполнять REST API операции.
  5. Данные, полученные от Сервера выводить в консоль.

Build

# Build
yarn build

Usage

# Help
node dist/main help
# Get Brands list
node dist/main brands
# Sorting and pagination
node dist/main brands --sort [+name,id] --page 1 --limit 2
# Get Brand by Id
node dist/main brands --id 64f4f14b3b631dd134642c5e
# Create Brand
node dist/main brands create --body '{"name":"test brand"}'
# Update Brand
node dist/main brands update --id 64f4f14b3b631dd134642c5e --body '{"name":"updated"}'
# Delete Brand
node dist/main brands delete --id 64f4f14b3b631dd134642c5e

example-cars-brands-console's People

Contributors

mat-twg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.