https://github.com/prabapro/express-boilerplate
Boilerplate/Generator/Starter Project for Node.js, Express and Node-mailer.
https://github.com/prabapro/express-boilerplate
Last synced: 2 months ago
JSON representation
Boilerplate/Generator/Starter Project for Node.js, Express and Node-mailer.
- Host: GitHub
- URL: https://github.com/prabapro/express-boilerplate
- Owner: prabapro
- Created: 2024-02-05T07:51:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T08:03:26.000Z (almost 2 years ago)
- Last Synced: 2025-09-25T05:46:10.915Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Boilerplate with Node Mailer
Boilerplate/Generator/Starter Project for Node.js, Express and Node-mailer.
## Getting Started
#### Clone the repo and make it yours:
```bash
git clone --depth 1 https://github.com/prabapro/express-boilerplate
cd express-boilerplate
rm -rf .git
```
#### Environment Variables
- Generate `.env` file from `.env.example` and add your env variables.
```shell
cp .env.example .env
```
- If new keys are added to the `.env` file, run below command to update the example file with new keys.
```shell
sed 's/=.*/=/' .env > .env.example
```
#### Install Dependencies
```shell
npm install
```
#### Run
```shell
npm run dev
```
#### If port is already in use
```shell
killall node
```