Skip to content

reski-id/wa-message

Repository files navigation

Wa-Message App

Messaging app Rest API Backend, users can send and reply to messages

Running App

Content

Key Features
Installing Using Github
Installing Using Docker
End Point
Technologi that i use
Contact me

📱 Key Features

  • User can register
  • User can login
  • User send messages
  • User reply messages

⚙️ Installing and Runing from Github

installing and running the app from github repository
To clone and run this application, you'll need Git and Golang installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/reski-id/wa-message.git

# Go into the repository
$ cd wa-app

# Install dependencies
$ go get

# Run the app
$ go run main.go

Note Make sure you allrady create database for this app see local .env file.

⚙️ Installing and Runing with Docker

if you are using docker or aws/google cloud server you can run this application by creating a container.

# Pull this latest app from dockerhub 
$ docker pull programmerreski/wa-app

# if you have mysql container you can skip this
$ docker pull mysql

$ docker run --name mysqlku -p 3306:3306 -d -e MYSQL_ROOT_PASSWORD="yourmysqlpassword" mysql 

# create app container
$ docker run --name waapp -p 80:8000 -d --link mysqlku -e SECRET="secr3t" -e SERVERPORT=8000 -e Name="message_app" -e Address=mysqlku -e Port=3306 -e Username="root" -e Password="yourmysqlpassword" programmerreski/wa-app

# Run the app
$ docker logs waapp

📜 End Point

Users

Methode EndPoint ...
POST /users register
POST /login login
GET /users get my account
DELETE /users delete my account
PUT /users update my account

Message

Methode EndPoint ...
POST /message create message
DELETE /message/:id delete my message

🛠️ Technologi

This software uses the following Tech:

📱 Contact me

feel free to contact me ...

About

user can send message and reply

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors