Coder Social home page Coder Social logo

crudcli's Introduction

Database Image

CRUD CLI

Commit Commit

CRUD CLI, projeto desenvolvido que consiste em fazer operações (CREATE, READ, UPDATE & DELETE) via Command Line Interface, basicamente operando em informações armazenadas em um arquivo local de formato JSON.

A aplicação foi desenvolvida com NodeJS, utilizando ferramentas como CommandJS para manipular os valores passados via CLI e MochaJS para efetuar testes e entre outras.

Screenshot

Executando ⚙️

# Clone
$ git clone https://github.com/EricNeves/crudCLI.git

# Install Dependencies
$ cd crudCLI && npm install

#test
$ npm test

# Help
$ npm start
# List all users
$ node src/index.js -A
# Create a new user
$ node src/index.js -C -N ericneves -E [email protected]
# List user by ID
$ node src/index.js -L -I 123
# Edit user by ID
$ node src/index.js -U -I 123 -N eric -E [email protected]
# Delete user by ID
$ node src/index.js -R -I 123

Ferramentas 🛠

  • NodeJS
    • Path
    • FS (fs/promises)
    • CommanderJS
    • MochaJS

License

Commit

crudcli's People

Contributors

ericneves avatar

Stargazers

 avatar  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.