-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add web example and getting started doc
- Loading branch information
Showing
7 changed files
with
12,698 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# `web` | ||
|
||
Simple Front-End WEB app example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "web", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev --port 3000", | ||
"build": "next build", | ||
"start": "next start", | ||
"test": "jest .", | ||
"lint": "eslint . --max-warnings 0" | ||
}, | ||
"dependencies": { | ||
"@repo/i18n": "workspace:*", | ||
"@repo/ui": "workspace:*" | ||
}, | ||
"peerDependencies": { | ||
"@turbo/gen": "^1.13.3", | ||
"@types/eslint": "^8.56.10", | ||
"@types/node": "^20.12.8", | ||
"@types/react": "^18.3.1", | ||
"@types/react-dom": "^18.3.0", | ||
"eslint": "^8.57.0", | ||
"next": "^14.2.3", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"typescript": "^5.4.5" | ||
}, | ||
"devDependencies": { | ||
"@repo/eslint-config": "workspace:*", | ||
"@repo/typescript-config": "workspace:*" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
# Init your own monorepo | ||
|
||
You should have `docker-compose`, `git` and `node` commands. | ||
You can create a fork of [boilerplate](https://github.com/8iq/nodejs-hackathon-boilerplate-starter-kit) by click on github `Use Template` button or fork the repo. | ||
You can create a fork of [boilerplate](https://github.com/8iq/nodejs-hackathon-boilerplate-starter-kit) | ||
by click on GitHub `Use Template` button or fork the repo. | ||
|
||
![use template click](./_img/00-use-template-screen.png) | ||
|
||
```bash | ||
# 1) Fork https://github.com/8iq/nodejs-hackathon-boilerplate-starter-kit | ||
# 1) Click `Use Template`: https://github.com/8iq/nodejs-hackathon-boilerplate-starter-kit | ||
|
||
# 2) Clone your fork! | ||
# 2) Clone your repo! | ||
git clone [email protected]:USERNAME/REPOSITORY.git my-new-startup | ||
cd my-new-startup | ||
|
||
# 3) Install dependencies and link workspaces | ||
yarn | ||
``` | ||
|
||
# create new package | ||
|
||
Just use `turbo gen workspace` to create a new package | ||
|
||
# create new app | ||
|
||
Just use `turbo gen workspace --copy ./apps/web` to create a new app |
Oops, something went wrong.