- Backend
- traPtitech/traPortfolio (this repository)
- Frontend
If you want to contribute to traPortfolio, then follow these pages.
If you use VSCode, you can use DevContainer to develop traPortfolio. See ./.devcontainer/README.md for more details.
- Bash
- make
- Docker
- Docker Compose
- Go
- MySQL
docker compose up
Tips: You can change the configuration by rewriting ./dev/config.yaml
Now you can access to
- http://localhost:1323 for backend server.
- http://localhost:3001 for adminer
- username:
root
- password:
password
- database:
portfolio
- port:
3306
- username:
NOTE: Make sure backend
container is stopped because of port conflicts
make up-db-container
go run main.go -c ./dev/config.yaml
Tips: You can change the configuration by
- Specifying it with flags (Run
go run main.go --help
) - Rewriting ./dev/config.yaml
make db-gen-docs
make db-lint
make openapi-lint
make lint
make test
make test-integration
If you want to test both of them, run the following command.
make test-all