Skip to content

Commit

Permalink
feat: add hello world index.ts, make it runnable, add first types
Browse files Browse the repository at this point in the history
  • Loading branch information
BracketJohn committed Mar 1, 2023
1 parent f4247c6 commit 951be8b
Show file tree
Hide file tree
Showing 4 changed files with 683 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ We use node and npm to develop this project. Commands:
```sh
# Install all required dependencies
npm i

# Run application in development mode
npm run dev
```


Expand Down
14 changes: 14 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const main = async () => {
console.log('GM MakerDao')
}

main().catch((err) => {
console.error("Shutting down...")
if (err instanceof Error) {
console.error(err)
} else {
console.error("An unknown error has occurred. Please open an issue on github with the below:")
console.log(err)
}
process.exit(1)
})
Loading

0 comments on commit 951be8b

Please sign in to comment.