This template is meant to serve as a foundation for Biarritz P3 following the Typescript Express stack, as learned in Wild Code School. It's pre-configured with a set of tools which'll help students produce industry-quality and easier-to-maintain code, while staying as simple as possible to use.
- In VSCode, install plugins Prettier - Code formatter and ESLint and configure them
- Clone this repo, enter it
- Run command
npm install
dev
: Start the application in development environmentbuild
: Compile Typescript code to Javascript in the dist folderstart
: Starts the applicationsetup
: Launch npm install and huskly install to setup the project
- Husky : Allows to execute specific commands that trigger on git events
- ESLint : "Quality of code" tool, ensures chosen rules will be enforced
- Prettier : "Quality of code" tool as well, focuses on the styleguide
- _ Airbnb Standard_ : One of the most known "standards", even though it's not officially linked to ES/JS