This repository serves as a basic setup for a Node.js project using TypeScript for type safety and Jest for testing.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine for building scalable network applications.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
- Jest: A delightful JavaScript testing framework with a focus on simplicity.
- Node.js installed on your machine. You can download it here.
- This project was built using node 20.12.1 consider check if it fits to your envrioment!
- npm (Node Package Manager) comes bundled with Node.js installation.
-
Clone this repository to your local machine:
git clone https://github.com/vitorconti/node-ts
-
Navigate to the project repository
npm install
-
For creating production code run
npm run build
-
For running the production code
npm start
- For running the tests
npm test
- src/: Contains the source code of your application.
- src/server/index.ts: Entry point of your application.
- tsconfig.json: TypeScript configuration file.
- package.json: Metadata about the project and its dependencies.
This project is licensed under the MIT License.