https://github.com/negi524/three-level-architecture
3層アーキテクチャのサンプルリポジトリ
https://github.com/negi524/three-level-architecture
docker docker-compose mysql nestjs react remix schemaspy schemaspydocker swagger
Last synced: 3 months ago
JSON representation
3層アーキテクチャのサンプルリポジトリ
- Host: GitHub
- URL: https://github.com/negi524/three-level-architecture
- Owner: negi524
- License: mit
- Created: 2024-10-10T07:26:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T12:27:11.000Z (over 1 year ago)
- Last Synced: 2025-01-26T13:29:30.384Z (over 1 year ago)
- Topics: docker, docker-compose, mysql, nestjs, react, remix, schemaspy, schemaspydocker, swagger
- Language: TypeScript
- Homepage:
- Size: 3.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# three-level-architecture
3層アーキテクチャのサンプルリポジトリ
## Development
### Command
See [Makefile](./Makefile)
### FE
- framework: Remix
- local access: `http://localhost:3010`
### BE
- framework: NestJS
- local access: `http://localhost:3020`
- API interface: `http://localhost:3020/api`
#### Setup environment file
```bash
$ cp apps/be/.env.sample apps/be/.env
```
#### Setup prisma
```bash
$ docker compose exec be yarn prisma db pull
$ docker compose exec be yarn run format:prisma
$ docker compose exec be yarn prisma generate
```
### DB
- MySQL
#### Access database
```bash
$ mysql -h localhost -u root -p -D sample --protocol=tcp
Enter password:Password!
mysql>
```
### SchemaSpy
- local access: `http://localhost:8080`
---
## Production
See [Makefile](./Makefile)