Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hariclerry/sms-mgt-app-api
A simple CRUD SMS management API built using nodejs, mongodb and express
https://github.com/hariclerry/sms-mgt-app-api
expressjs javascript mongodb mongoose nodejs
Last synced: 1 day ago
JSON representation
A simple CRUD SMS management API built using nodejs, mongodb and express
- Host: GitHub
- URL: https://github.com/hariclerry/sms-mgt-app-api
- Owner: hariclerry
- Created: 2019-06-03T14:16:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:53:17.000Z (about 2 years ago)
- Last Synced: 2023-03-04T09:13:03.166Z (almost 2 years ago)
- Topics: expressjs, javascript, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/hariclerry/sms-mgt-app-api.svg?branch=master)](https://travis-ci.org/hariclerry/sms-mgt-app-api)
[![Coverage Status](https://coveralls.io/repos/github/hariclerry/sms-mgt-app-api/badge.svg)](https://coveralls.io/github/hariclerry/sms-mgt-app-api)# SMS Management APP
SMS Management APP is a system that creates and stores contacts, it is used to send SMS to available cotacts.
### FEATURES
With SMS Management APP you can:
* Create a user account
* Login into the user account
* Add a new contact
* view a list of all contacts
* Update a contact
* View a contact
* Delete a contact
* Send sms to a contacts
* View an sms
* Delete an sms### Requirements
* Node v10.0.0
* Express framework
* MongoDB and Mongoose### Installation
1. Clone the repository
2. Install dependencies
```npm install```3. Run app
```npm start```4. To build the app
```npm run build```5. Testing
* In order to test the application you can the command
```npm run test```VERSIONS
The API runs with one version, Version 1
Input `http:127.0.0.1:3000/` followed by any of the following endpoints to demo version 1.
|EndPoint|Functionality|
|---------|------------|
|POST/api/v1/user|Creates a new user account|
|POST/api/v1/user/login|Logs in a user|
|POST/api/v1/contacts|Creates a new contact|
|PATCH/api/v1/contacts/:contactId|Updates a contact|
|DELETE/api/v1/contacts/:contactId|Removes a contact|
|GET/api/v1/contacts|Retrieves all contacts|
|GET/api/v1/contacts/:contactId|Gets a contact|
|POST/api/v1/contactId/sms|Sends sms to a contact|
|DELETE/api/v1/contactS/:contactId/sms/:smsId|Removes a contact|
|GET/api/v1/contactS/:contactId/sms/:smsId|Gets a sms|### Checkout the live app on heroku
Heroku link: https://sms-mgt-app-api.herokuapp.com/### API Documentation with POSTMAN
Test the API with Postman here: https://documenter.getpostman.com/view/7685370/S1TZyFtsThe API is written in Node.Js using the Express framework and mongoDB as the database dialect.