Skip to content

✨ CRUD CLI with Javascript, NodeJS, JSON, CommanderJS, Test (MochaJS) and more..

License

Notifications You must be signed in to change notification settings

EricNeves/crudCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ericnevesr@gmail.com
# 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 eric@crud.com
# Delete user by ID
$ node src/index.js -R -I 123

Ferramentas 🛠

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

License

Commit

About

✨ CRUD CLI with Javascript, NodeJS, JSON, CommanderJS, Test (MochaJS) and more..

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published