Skip to content

A command-line Node.js app powered by TypeScript, Google Cloud Functions and Firebase for managing contacts

Notifications You must be signed in to change notification settings

philipszdavido/contact-manager

Repository files navigation

Contact Manager

This is a command-line contact management system app built with TypeScript, Node.js, Firebase Realtime Database and Firebase Cloud Functions.

Technologies:

  • JavaScript
  • Node.js
  • TypeScript
  • Firebase
  • Firebase Cloud Functions

Features

  • Add a contact
  • Delete a contact
  • View a contact
  • View all contacts

Installation

  • Git clone this repo here.
  • install ts-node globally npm i ts-node -g to be able to run the ts scripts directly.
  • Move into the folder
    cd contact-manager
  • Run npm install to install node dependencies.

Usage

Usage: [options] [command]

Contact Management System

Options:

-V, --version  output the version number
-h, --help     output usage information

Commands:

addContact|a       Add a contact
getContact|g       Get Contact
updateContact|u    Update Contact
deleteContact|d    Delete a contact
getContactList|l   Get Contact List

USING THE APP

If you want to run the JavaScript code, First run npm link.

Adding a contact

TypeScript
ts-node contact a
JavaScript
contact a

Deleting a contact

TypeScript
ts-node contact d
JavaScript
contact d

Viewing all contacts

TypeScript
ts-node contact l
JavaScript
contact l

Viewing a contact

TypeScript
ts-node contact g
JavaScript
contact g

Contribute

  1. Fork this repository
  2. Clone it to your local machine
  3. Create a branch for the feature you want to implement
  4. Push your changes to your repository
  5. Submit a pull request

Support

If you are having issues, please let me know. Mail me at: kurtwanger40@gmail.com

About

A command-line Node.js app powered by TypeScript, Google Cloud Functions and Firebase for managing contacts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published