Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
/ typescriptApp Public archive

[ABANDONED] Template for NodeJS Typescript development

License

Notifications You must be signed in to change notification settings

zudsniper/typescriptApp

Repository files navigation

typescriptApp Template $v2$

Template Directory for NodeJS powered development with TypeScript.

No IDE configuration files are provided as of now, but check CHANGELOG.md information on what has been added.

VERSION TITLE MESSAGE
$2.0.0$ "fix becuz broke"

"I'm going to keep this repo more up to date" & more lies you tell yourself to fall asleep at night
I can't fall asleep at night

FEATURES

  • tsconfig.json configured for es6 and uses /src/ /dist/ paradigm.
  • winston logger class impl in utils/logging.ts
  • chalk for pretty colors
  • includes .jshintrc to make you use semicolons
  • package.json includes scripts for first-run, build, start, clean, and go.
  • dotenv covers environment variables
    if you have any trouble with this, try npm run first-run to install the dotenv-cli package.

USAGE

Here are steps to clone this repository and make it into your own.

  1. Clone this repo locally. This will create a new folder from your current path called typescriptApp.
# use the new github CLI tool - `gh` - to clone
$ gh repo clone https://github.com/zudsniper/typescriptApp
# or use `git` like the good old days 
$ git clone https://github.com/zudsniper/typescriptApp
  1. Remove the git links to this repo so that you can use the files as your own.
# 'change directory' (`cd`) into the cloned directory.  
$ cd typescriptApp
# WARNING: Use extreme caution when running this command. It can destroy 
#          everything on your computer in a single use. 
# 'remove' (`rm`) the folder `.git` recursively (`-r`) and finally (`-f`)
$ rm -rf .git
# next, return to your parent directory & rename the template folder to
# your desired project's name
$ cd .. && mv typescriptApp <YOUR_APP_NAME_HERE>
  1. Update name, description, and authorship information in package.json. Do at least mention me in your README.md though. Please?
    Do this in your text editor of choice!
# here we `cd` into the newly renamed directory and open the package
#     json file with `vim` 
$ cd <YOUR_APP_NAME_HERE> && vim package.json
  1. GOOD TO GO!

$Good$ $luck$ $old$ $sport.$



FUTURE PLANS

  • add jest testing stubs, dependency, and scripts to package.json.
  • upgrade the target module version from es6 to at least es2017. Handle ramifications.
  • add a basic commander setup for easy 'out of the box' CLI building.
  • add the annoying ass figlet library and make the on-start print look good

LICENSE

MIT License which can be found within the LICENSE file.

CONTACT

Feel free to reach out to me by joining my Discord and tagging me in your message, or sending any business inquiries to me at zod dot tf (Not a real link, no mailto: for the bots to scrape today! I'm sure they can't understand my secret code used above!)


zod.tf

Discord GitHub issue custom search GitHub followers

fullstack development, server administration, web design, branding creation, musical composition & performance, video editing, and more probably

second zod.tf logo

About

[ABANDONED] Template for NodeJS Typescript development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published