Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thaddeusjiang/turborepo-starter
A monorepo starter with Next.js, Express.js, SurrealDB, daisyUI, docker, docker-compose, terraform, and more.
https://github.com/thaddeusjiang/turborepo-starter
daisyui docker expressjs monorepo nextjs surrealdb terraform
Last synced: 4 days ago
JSON representation
A monorepo starter with Next.js, Express.js, SurrealDB, daisyUI, docker, docker-compose, terraform, and more.
- Host: GitHub
- URL: https://github.com/thaddeusjiang/turborepo-starter
- Owner: ThaddeusJiang
- Created: 2023-02-25T05:14:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-25T09:06:30.000Z (over 1 year ago)
- Last Synced: 2024-10-26T11:50:39.489Z (12 days ago)
- Topics: daisyui, docker, expressjs, monorepo, nextjs, surrealdb, terraform
- Language: TypeScript
- Homepage:
- Size: 306 KB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# turborepo-starter
A monorepo starter with Next.js, Express.js, SurrealDB, daisyUI, docker, docker-compose, terraform, and more.
## Tech Stack
- monorepo via turborepo
- api
- Express.js + Next.js + SurrealDB
- web
- Next.js + daisyUI
- DevOps
- docker
- docker-compose
- terraform
- Testing
- Jest
- Others
- TypeScript
- Node.js
- others## Tasks of Feature
- API
- [ ] DB migration
- [ ] Logic Testing
- [ ] API Playground
- WEB
- [ ] API Mocking
- [ ] Visual Testing
- [ ] Logic Testing
- [ ] UIUX Preview## Develop
### Docker
```sh
# start db
docker network create app_networkdocker-compose -f docker-compose.dev.yml up -d
``````sh
# install
yarn install# run
yarn dev
```### Docker
```
docker network create app_networkCOMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml build --parallel
docker-compose -f docker-compose.yml up -d
```Open http://localhost:3000.
To shutdown all running containers:
```
# Stop all running containers
docker kill $(docker ps -q) && docker rm $(docker ps -a -q)
```## TODO:
setup
- [ ] import alias `~/`
- [ ] monorepo workspace `tsc` build
- [ ] Testing file remove `__test__`## FIXME:
- [ ] api workspace can't use `shared` package in prod
- [ ] vscode-jest doesn't work at monorepo, `cd apps/api`