https://github.com/tuql3/graduate_be
https://github.com/tuql3/graduate_be
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tuql3/graduate_be
- Owner: TuqL3
- Created: 2024-10-09T16:18:45.000Z (7 months ago)
- Default Branch: develop
- Last Pushed: 2025-01-12T14:06:29.000Z (4 months ago)
- Last Synced: 2025-01-12T15:19:28.814Z (4 months ago)
- Language: Go
- Size: 4.77 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Graduate
## Be PTIT practical laboratory center
### 1. Clone
```
$ git clone https://github.com/TuqL3/Graduate_be.git
```
### 2. Config env
```
Create env file and change parameters
PORT = your port
APP_ENV = localDB_HOST = your db host
DB_PORT = your db port
DB_DATABASE = your db database
DB_USERNAME = your db username
DB_PASSWORD = your db password
DB_SCHEMA = your db schema
JWT_KEY = your jwt keyPORT=8080
APP_ENV=local
DB_HOST=localhost
DB_PORT=5432
DB_DATABASE=graduate
DB_USERNAME=postgres
DB_PASSWORD=123456
DB_SCHEMA=public
JWT_KEY=secretKey.air.toml windown
bin = "tmp\\main.exe"
cmd = "go build -o ./tmp/main.exe .".air.toml linux
bin = "tmp/main"
cmd = "go build -o ./tmp/main ."
```
### 3. Run
```shell
air
``````shel
username: admin
password: 12345678
```