Skip to content
No description, website, or topics provided.
TypeScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
.env.example
.gitignore
LICENSE
README.md
package.json
tsconfig.json
yarn.lock

README.md

Clean Architecture Sample

Setting up

Install your Node dependencies

$ yarn install
# == OR ==
$ npm install

Running

Ensure that your application has a .env file. This should happen automatically with yarn install or npm install. If not, copy .env.example to .env.

$ npm start

Production Build

The development mode uses ts-node (enabling live debugging), which the author does not guarantee is prepared for production.

Build the Node-compliant code

$ npm run build

Built files will be placed in /dist.

Modify your .env file to "production" mode

# .env
NODE_ENV=production
PORT=8080

Run the server

$ npm start
You can’t perform that action at this time.