Skip to content

Commit

Permalink
Update to use babel instead of ts-node (bonnie#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnie authored Nov 27, 2021
1 parent 7a8c15e commit 45de3ea
Show file tree
Hide file tree
Showing 28 changed files with 16,145 additions and 5,421 deletions.
12 changes: 6 additions & 6 deletions base-lazy-days/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions base-lazy-days/server/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": [["@babel/preset-env"], "@babel/preset-typescript"],
"plugins": ["@babel/plugin-transform-runtime"]
}
6 changes: 1 addition & 5 deletions base-lazy-days/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@

1. Run `npm install`
2. `cp .env_template .env`
3. Optional, only necessary if you're going to deploy: update `.env` to contain your own secret string (can just mash the key)
3. Optional, only necessary if you're going to deploy: update `.env` to contain your own secret string (can just mash the keyboard for a long random string)

## Starting the server

### Important: This server uses the ts-node/esm loader, and _requires_ Node version 14+ It also does NOT work with 16.12.x+.

#### I am working on fixing the discrepencies with newer versions of Node and will update the repo soon.

Run `npm start`. The server will be found at [http://localhost:3030]
Loading

0 comments on commit 45de3ea

Please sign in to comment.