An open API service indexing awesome lists of open source software.

https://github.com/philipszdavido/contact-manager

A command-line Node.js app powered by TypeScript, Google Cloud Functions and Firebase for managing contacts
https://github.com/philipszdavido/contact-manager

cloud-functions firebase firebase-functions firebase-realtime-database javascript nodejs typescript

Last synced: 6 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/philipszdavido/contact-manager).
* install ts-node globally `npm i ts-node -g` to be able to run the `ts` scripts directly.
* Move into the folder
```sh
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
```sh
ts-node contact a
```
###### JavaScript
```sh
contact a
```

### Deleting a contact
###### TypeScript
```
ts-node contact d
```
###### JavaScript
```sh
contact d
```

### Viewing all contacts
###### TypeScript
```
ts-node contact l
```
###### JavaScript
```sh
contact l
```
### Viewing a contact
###### TypeScript
```sh
ts-node contact g
```
###### JavaScript
```sh
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

- Issue Tracker: https://github.com/philipszdavido/contact-manager/issues
- Source Code: https://github.com/philipszdavido/contact-manager

### Support
If you are having issues, please let me know.
Mail me at: [email protected]