Init commit.

Add: the initial project structure.

Add: root command and a `version` command that print the version string of the app.
This commit is contained in:
2025-06-22 22:05:46 +08:00
commit bc38ab4ffb
9 changed files with 311 additions and 0 deletions

32
README.md Normal file
View File

@ -0,0 +1,32 @@
# MyGO Server
This is the server backend of MyGO.
## TODO
- [ ] CLI
- [ ] Web (JWT) Authentication
- [ ] User Administration APIs
- [ ] File upload and download (HTTP)
## Usage
To run the server simply:
```bash
mygo web
```
To run the server with specified configuration file (default: `./config.yml`):
```bash
mygo web -c /path/to/config.yml
```
## Commands
### mygo web
Run the HTTP web server and listen on the specified port.