This repository is a Node.js starter template that I use as a base for all my new Node.js projects.
It comes with a simple Express server, dotenv setup for environment variables, and a clean folder structure.
- Express server setup
- Environment variable support with dotenv
- Basic project structure for scalability
- Ready to extend for APIs, authentication, and databases
- Clone the repo:
git clone https://github.com/dipesh-prjpt5/node-starter.git my-new-project
- Install dependencies:
npm install
- Create a .env file in the root directory and add your environment variables. For example:
PORT=5000
- Start the server:
npm start