An open API service indexing awesome lists of open source software.

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.

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
```