Skip to content

A Simple Terminal Based Contacts App to Keep the Contacts in Seperate JSON File.

License

Notifications You must be signed in to change notification settings

imboss712/contacts-app

Repository files navigation

Contacts-App

Contacts App is developed in JavaScript and NodeJS and works in terminal. User provides specified input in terminal and get outputs in terminal too. Contacts App is used to Create a Contact, Read a Contact, Remove a Contact and Read all Contacts. A Contact body contains name , mobile and email.

( Add a new writable terminal in codesandbox and run the commnads )

Commands with Demo Images:

( Run commands in terminal )

Create a New Contact

node app.js add --name="Shashi Kant Yadav" --phone="9876543210" --email="shashikant@example.com"

If Mobile number already present, It will show error

Remove a Contact

node app.js remove --name="Shashi Kant Yadav"

If Contact is not present in JSON file, then it will show error

Read a Contact

node app.js read --name="Shashi Kant Yadav"

If Contact not found then it will show an error

List All Contact

node app.js list

If No contacts in JSON File, then it will show something like this

Built With :

Developed By :

About

A Simple Terminal Based Contacts App to Keep the Contacts in Seperate JSON File.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages