File tree 4 files changed +129
-134
lines changed
4 files changed +129
-134
lines changed Original file line number Diff line number Diff line change
1
+ { pkgs , ... } : {
2
+ channel = "stable-23.11" ;
3
+
4
+ packages = [
5
+ pkgs . nodejs_20
6
+ pkgs . nodePackages . nodemon
7
+ ] ;
8
+
9
+ env = {
10
+ ENABLE_RATE_LIMIT = true ;
11
+ } ;
12
+
13
+ idx = {
14
+ extensions = [
15
+ "EditorConfig.EditorConfig"
16
+ "ms-vscode.vscode-typescript-next"
17
+ "oderwat.indent-rainbow"
18
+ "wix.vscode-import-cost"
19
+ "kamikillerto.vscode-colorize"
20
+ "aaron-bond.better-comments"
21
+ ] ;
22
+
23
+ workspace = {
24
+ onCreate = {
25
+ npm-install = "npm install" ;
26
+ } ;
27
+ } ;
28
+ } ;
29
+ }
Original file line number Diff line number Diff line change @@ -63,6 +63,16 @@ The fastest way to use it privately on PaaS available
63
63
< img alt=" Deploy with Render" src=" https://render.com/images/deploy-to-render-button.svg" height=" 32" />
64
64
< /a>
65
65
66
+ # ## Open in
67
+
68
+ < a href=" https://idx.google.com/import?url=https%3A%2F%2Fgithub.com%2Fsooluh%2Fkodepos" >
69
+ < picture>
70
+ < source media=" (prefers-color-scheme: dark)" srcset=" https://cdn.idx.dev/btn/open_light_32.svg" >
71
+ < source media=" (prefers-color-scheme: light)" srcset=" https://cdn.idx.dev/btn/open_dark_32.svg" >
72
+ < img height=" 32" alt=" Open in IDX" src=" https://cdn.idx.dev/btn/open_purple_32.svg" >
73
+ < /picture>
74
+ < /a>
75
+
66
76
# # Endpoints
67
77
68
78
# ## Search by Place Name
Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ const app = async () => {
47
47
}
48
48
49
49
const address = await app . listen ( { host : '0.0.0.0' , port : Number ( process . env . PORT || 3000 ) } )
50
- console . info ( 'Listen to requests on' , address )
50
+
51
+ console . info ( `Listen to requests on ${ address } ` )
52
+ console . info ( `Test here: ${ address } /search?q=danasari` )
51
53
} catch ( e ) {
52
54
console . error ( e )
53
55
}
You can’t perform that action at this time.
0 commit comments