• Key Features
• Installing Using Github
• Installing Using Docker
• End Point
• Technologi that i use
• Contact me
- User can register
- User can login
- User send messages
- User reply messages
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.
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
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 |
This software uses the following Tech:
- Golang
- Echo Framework
- Gorm
- mysql
- Linux
- Docker
- Dockerhub
- Mockery Unit Testing
- Git Repository
- Trunk Base Development
- JSON Web Tokens (JWT)
feel free to contact me ...
- Email [email protected]
- Github
- Whatsapp Send WhatsApp Message