A simple and structured Node.js starter template using Express and TypeScript.
- Express Framework: Fast and lightweight web framework.
- TypeScript Support: Improves code quality and maintainability.
- Pre-configured Scripts: Ready-to-use scripts for building and running the application.
NodejsStarterTemplate/
├── src/
│ ├── index.ts
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── tsconfig.json
src/
: Contains the application source code.index.ts
: Entry point of the application.
.gitignore
: Specifies files and directories to be ignored by Git.README.md
: Documentation for the project.package.json
: Lists project dependencies and scripts.tsconfig.json
: TypeScript configuration.
Ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/CemHarput/NodejsStarterTemplate.git
-
Navigate to the project directory:
cd NodejsStarterTemplate
-
Install dependencies:
npm install
To build and start the application, run:
npm run build
npm start
This will compile the TypeScript code and start the Express server.
Contributions are welcome! Feel free to fork this repository and submit a pull request.
This project is licensed under the MIT License.