xonecas.io
4436
Sl

sesame-labs-coding-assignment / commit 826e0f3

Update the node version to current stablexi

-  :facepalm: my boilerplate was old

Sean2023-01-17 826e0f3a31d43d180e1c32f406d2196c83c3cf75 parent fca938c

3 files changed

.gitignore+2−1
@@ -2,4 +2,5 @@
22 .keys
33 node_modules
44 .env
5-api/prisma/*.db
5+api/prisma/*.db
6+api/dist
.nvmrc+1−1
@@ -1 +1 @@
1-v16.17.0
1+v19.4.0
README.md+2−2
@@ -2,7 +2,7 @@
22
33 ### Setting up this project:
44
5-Project was built using the Node stable release at the moment (v16.17.0), please make sure you have a compatible node version. If you use nvm then you can use the command: `nvm use` and it should pick up the `.nvmrc` file included in this repo.
5+Project was built using the Node stable release at the moment (v19.4.0), please make sure you have a compatible node version. If you use nvm then you can use the command: `nvm use` and it should pick up the `.nvmrc` file included in this repo.
66
77 **Installing**
88
@@ -15,7 +15,7 @@ Project was built using the Node stable release at the moment (v16.17.0), please
1515
1616 **Running**
1717
18-1. To start the api server, type this command in the `api` folder: `npx tsc && node dist/`
18+1. To start the api server, type this command in the `api` folder: `npx ts-node ./src`
1919 1. To start the ui server, type this command in the `ui` folder: `npm start`
2020
2121 Note: Using the create react app dev server for convenience, in a production environment i'd use nginx or similar to serve the build folder.