Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial NodeJS Express application configuration #1

Merged
merged 8 commits into from
Mar 12, 2021

Conversation

oskardudycz
Copy link
Owner

@oskardudycz oskardudycz commented Mar 12, 2021

Added initial boilerplate structure for Expressjs application together with instruction on how to do it manually.

Besides the sample "Hello World" as a starting point, it contains:

  • TypeScript - for compiling and further Type-DriveDevelopment,
  • ESLint - for static code analysis,
  • Prettier - for formatting,
  • Husky - for running pre-commit checks,
  • Nodemon - for hot-reload,
  • VSCode settings.

See more in #2.

- Defined npm command to run ESLint and Prettier
- Added VSCode settings file to run linter and prettier on save
- Added "Hello World" file with Express server to make sure that linter and prettier config works properly.
- Added .gitattributes to enforce LF on files
- Added Husky configuration in the main repo level (in the subfolder it won't work)
Added Nodemon and configured the run script
Updated .gitignore with latest from
@oskardudycz oskardudycz force-pushed the 001-express_and_typescript_project_setup branch from f63f210 to 2aa0451 Compare March 12, 2021 19:02
@oskardudycz oskardudycz merged commit 1c5dc19 into main Mar 12, 2021
@oskardudycz oskardudycz deleted the 001-express_and_typescript_project_setup branch March 12, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant