Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amirhnajafiz-archive/terminal
Create a bash terminal with Golang and Vue.js
https://github.com/amirhnajafiz-archive/terminal
gin go golang terminal-app vue
Last synced: 3 months ago
JSON representation
Create a bash terminal with Golang and Vue.js
- Host: GitHub
- URL: https://github.com/amirhnajafiz-archive/terminal
- Owner: amirhnajafiz-archive
- License: gpl-3.0
- Archived: true
- Created: 2021-10-08T16:00:53.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-23T07:30:01.000Z (over 1 year ago)
- Last Synced: 2024-09-25T23:24:14.269Z (3 months ago)
- Topics: gin, go, golang, terminal-app, vue
- Language: Vue
- Homepage:
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terminal
![](https://img.shields.io/badge/Go-1.18.2-66AADD?style=for-the-badge&logo=go)
![](https://img.shields.io/badge/Vue-3.0-008866?style=for-the-badge&logo=vue.js)Creating a bash terminal with **Golang** and **Vue.js**.
## How to use the project?
Clone into project:
```shell
git clone https://github.com/amirhnajafiz/terminal.git
```Start back-end server:
```shell
cd server
go run main.go
```Server will be starting on **5000**.
Start client application:
```shell
cd client
npm run dev
```Application will be available on **5173**.
### Demo
### Backend testing
```
curl -X POST -H "Content-Type: application/json" -d '{"command": "time"}' http://localhost:5000/api/cmdcurl -X POST -H "Content-Type: application/json" -d '{"command": "whoami"}' http://localhost:5000/api/cmd
curl -X POST -H "Content-Type: application/json" -d '{"command": "os"}' http://localhost:5000/api/cmd
```