-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
248 additions
and
536 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
# Work In Progress | ||
# Effect Examples | ||
|
||
This repository serves as a centralized location for both examples of how to use Effect in real-world projects as well as templates for quickly bootstrapping projects with Effect. | ||
|
||
## Create Effect App | ||
|
||
The repository also contains a command-line application called `create-effect-app`, which can be used to bootstrap an example or a template in a single command. | ||
|
||
See [the documentation](./packages/create-effect-app/README.md) for more information. |
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 @@ | ||
use flake |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,49 +1,38 @@ | ||
{ | ||
"name": "http-server", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"type": "module", | ||
"description": "", | ||
"scripts": { | ||
"check": "tsc -b tsconfig.json", | ||
"dev": "tsx --env-file=.env --watch src/main.ts", | ||
"test": "vitest" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@effect/experimental": "^0.24.0", | ||
"@effect/opentelemetry": "^0.36.0", | ||
"@effect/platform": "^0.63.0", | ||
"@effect/platform-node": "^0.58.0", | ||
"@effect/schema": "^0.72.0", | ||
"@effect/sql": "^0.10.0", | ||
"@effect/sql-sqlite-node": "^0.10.0", | ||
"@opentelemetry/exporter-trace-otlp-http": "^0.53.0", | ||
"@opentelemetry/sdk-trace-base": "^1.26.0", | ||
"@opentelemetry/sdk-trace-node": "^1.26.0", | ||
"effect": "^3.7.2", | ||
"uuid": "^10.0.0" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@effect/eslint-plugin": "^0.2.0", | ||
"@effect/language-service": "^0.1.0", | ||
"@effect/vitest": "^0.9.2", | ||
"@eslint/compat": "^1.1.1", | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.9.1", | ||
"@effect/vitest": "^0.9.1", | ||
"@types/node": "^22.5.3", | ||
"@types/uuid": "^10.0.0", | ||
"@typescript-eslint/eslint-plugin": "^8.4.0", | ||
"@typescript-eslint/parser": "^8.4.0", | ||
"eslint": "^9.9.1", | ||
"eslint-import-resolver-typescript": "^3.6.3", | ||
"eslint-plugin-codegen": "^0.28.0", | ||
"eslint-plugin-deprecation": "^3.0.0", | ||
"eslint-plugin-import": "^2.30.0", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"eslint-plugin-sort-destructure-keys": "^2.0.0", | ||
"prettier": "^3.3.3", | ||
"tsup": "^8.2.4", | ||
"tsx": "^4.19.0", | ||
"typescript": "^5.5.4", | ||
"vitest": "^2.0.5" | ||
}, | ||
"dependencies": { | ||
"@effect/experimental": "^0.24.1", | ||
"@effect/opentelemetry": "^0.36.1", | ||
"@effect/platform": "^0.63.1", | ||
"@effect/platform-node": "^0.58.1", | ||
"@effect/schema": "^0.72.1", | ||
"@effect/sql": "^0.10.1", | ||
"@effect/sql-sqlite-node": "^0.10.1", | ||
"@opentelemetry/exporter-trace-otlp-http": "^0.53.0", | ||
"@opentelemetry/sdk-trace-base": "^1.26.0", | ||
"@opentelemetry/sdk-trace-node": "^1.26.0", | ||
"effect": "^3.7.1", | ||
"uuid": "^10.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
examples/http-server/src/Api/Accounts.ts → examples/http-server/src/Accounts/Api.ts
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
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
Oops, something went wrong.