Skip to content

Commit eb51561

Browse files
committed
initial commit
1 parent 94f2066 commit eb51561

24 files changed

+7072
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
SERVER_PORT=8000
2+
3+
# This was inserted by `prisma init`:
4+
# Environment variables declared in this file are automatically made available to Prisma.
5+
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
6+
7+
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
8+
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
9+
10+
DATABASE_URL="mongodb://localhost:27017/express-starter"
11+
12+
DATABASE_CONNECTION='mongodb'
13+
ENCRYPTION_KEY="$2b$10$3gQ0d4sje8aK/HOoKWEG9erHH6T9KeSA5AO5ox/.GJcEbvZNcpwrq"
14+
AUTH_TOKEN_KEY="$2b$10$3gQ0d4sje8aK/HOoKWEG9erHH6T9KeSA5AO5ox/.GJcEbvZNcpwrq"

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
# Keep environment variables out of version control
3+
.env
4+
5+
images/*
6+
7+
dist
8+
9+
logs/*

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
# express-starter-kit
2-
starter kit project to develop typescript based node js backend applications
1+
# Express Starter Kit
2+
starter kit project to develop typescript based node js backend applications.
3+
4+
## Features
5+
6+
- Express Validator
7+
- Winston Logger
8+
- Multer File Upload ( Daily Log Files )
9+
- User Authentication Using Bearer JWT Token
10+
- Login And Register API
11+
- Send Mails Using Nodemailer
12+

config/default.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"mail" : {
3+
"service": "",
4+
"host": "",
5+
"port": "",
6+
"secure": "",
7+
"auth": {
8+
"user": "",
9+
"pass": ""
10+
},
11+
"default": {
12+
"from": "",
13+
"bcc": "",
14+
"subject": ""
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)