You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-07-17 01:42:36 +02:00
web-app: README minor syntax improvements
This commit is contained in:
@ -23,7 +23,7 @@ https://example.saasstartupkit.com
|
|||||||
|
|
||||||
The web app relies on the Golang business logic packages developed to provide an API for internal requests.
|
The web app relies on the Golang business logic packages developed to provide an API for internal requests.
|
||||||
|
|
||||||
Once the web-app service is running it will be available on port 3000.
|
Once the web-app service is running, it will be available on port 3000.
|
||||||
|
|
||||||
http://127.0.0.1:3000/
|
http://127.0.0.1:3000/
|
||||||
|
|
||||||
@ -154,7 +154,8 @@ go build .
|
|||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
To build using the docker file, need to be in the project root directory. `Dockerfile` references go.mod in root directory.
|
To build using the docker file, you need to be in the project root directory since the `Dockerfile` references
|
||||||
|
Go Modules that are located there.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -f cmd/web-app/Dockerfile -t saas-web-app .
|
docker build -f cmd/web-app/Dockerfile -t saas-web-app .
|
||||||
@ -175,7 +176,7 @@ http://127.0.0.1:3000/signup?test-web-error=1
|
|||||||
### Localization
|
### Localization
|
||||||
|
|
||||||
Test a specific language by appending the locale to the request URL.
|
Test a specific language by appending the locale to the request URL.
|
||||||
127.0.0.1:3000/signup?local=fr
|
http://127.0.0.1:3000/signup?local=fr
|
||||||
|
|
||||||
|
|
||||||
[github.com/go-playground/validator](https://github.com/go-playground/validator) supports the following languages.
|
[github.com/go-playground/validator](https://github.com/go-playground/validator) supports the following languages.
|
||||||
|
Reference in New Issue
Block a user