Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Add table of contents and self hot setup guide

Acho Arnold52bdf9f9a4d4
diff --git a/README.md b/README.md
index a4303575..e9b9c290 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,8 @@ Quick Start Guide 👉 [https://docs.httpsms.com](https://docs.httpsms.com)
<img width="1115" alt="header" src="https://user-images.githubusercontent.com/4196457/194767449-f12d84a0-22f1-4787-afb2-17398fb459f6.png">
+## Table Of Contents
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
@@ -131,7 +133,7 @@ Android App-->>httpSMS API: [Async] Send result of sending SMS
Android App-->>httpSMS API: [Async] Send Delivery Report
```
-## Local Setup - Docker
+## Self Host Setup - Docker
### 1. Setup Firebase
@@ -202,8 +204,8 @@ GCP_PROJECT_ID=
### 5. Build and Run
-Build and run the API, the web UI, database and cache using the `docker-compose.yml` file. It takes a while for build and download all the docker images.
-When it's finished, you'll be able to access the web UI at http://localhost:3000 and the API at http://localhost:8000
+- Build and run the API, the web UI, database and cache using the `docker-compose.yml` file. It takes a while for build and download all the docker images.
+ When it's finished, you'll be able to access the web UI at http://localhost:3000 and the API at http://localhost:8000
```bash
docker compose up --build
@@ -211,12 +213,12 @@ docker compose up --build
### 6. Create the System User
-The application uses the concept of a system user to process events async. You should manually create this user in `users` table in your database.
-Make sure you use the same `id` and `api_key` as the `EVENTS_QUEUE_USER_ID`, and `EVENTS_QUEUE_USER_API_KEY` in your `.env` file
+- The application uses the concept of a system user to process events async. You should manually create this user in `users` table in your database.
+ Make sure you use the same `id` and `api_key` as the `EVENTS_QUEUE_USER_ID`, and `EVENTS_QUEUE_USER_API_KEY` in your `.env` file
### 7. Build the Android App.
-Before building the Android app in [Android Studio](https://developer.android.com/studio), you need to replace the `google-services.json` file in the `android/app` directory with the file which you got from step 1. You need to do this for the firebase FCM messages to work properly.
+- Before building the Android app in [Android Studio](https://developer.android.com/studio), you need to replace the `google-services.json` file in the `android/app` directory with the file which you got from step 1. You need to do this for the firebase FCM messages to work properly.
## License
diff --git a/api/README.md b/api/README.md
deleted file mode 100644
index f0b61dac..00000000
--- a/api/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# HTTP SMS API
-
-[![Go Report Card](https://goreportcard.com/badge/github.com/NdoleStudio/httpsms)](https://goreportcard.com/report/github.com/NdoleStudio/httpsms)
-[![PkgGoDev](https://pkg.go.dev/badge/github.com/NdoleStudio/httpsms/api)](https://pkg.go.dev/github.com/NdoleStudio/httpsms/api)
-
-API Docs: https://api.httpsms.com/index.html
-
-## Building
-
-To build and run the API on your computer, you can use the command below.
-
-```bash
-# Build the API
-go go build -o main.exe;
-
-# Run the API
-./main.exe
-```
-
-## Testing
-
-You can run the unit tests for this client from the root directory using the command below:
-
-```bash
-go test -v
-```
-
-## License
-
-This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
diff --git a/web/README.md b/web/README.md
deleted file mode 100644
index ea10896e..00000000
--- a/web/README.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# HTTP SMS WEB APP
-
-[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/ndolestudio/httpsms)
-
-## URL
-
-https://httpsms.com
-
-## Build Setup
-
-```bash
-# install dependencies
-$ yarn install
-
-# serve with hot reload at localhost:3000
-$ yarn dev
-
-# build for production and launch server
-$ yarn build
-$ yarn start
-
-# generate static project
-$ yarn generate
-```
-
-For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
-
-## Special Directories
-
-You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
-
-### `assets`
-
-The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets).
-
-### `components`
-
-The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components).
-
-### `layouts`
-
-Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts).
-
-### `pages`
-
-This directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing).
-
-### `plugins`
-
-The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins).
-
-### `static`
-
-This directory contains your static files. Each file inside this directory is mapped to `/`.
-
-Example: `/static/robots.txt` is mapped as `/robots.txt`.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static).
-
-### `store`
-
-This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.
-
-More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).