• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    JavaScript
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Express Mongo JsonWebToken boilerplate

Express Mongo JWT Boilerplate Build Status

Installation

  • Install NodeJS, MongoDB
  • Install npm or yarn
  • Rename .env.example to .env
  • Fulfill .env data
  • Start MongoDB
  • Run yarn run dev or npm run dev
  • Check http://localhost:3000/api/status to see it works

With Docker

  • Make sure you have installed Docker and Docker Compose
  • Just run docker-compose up to start the server

Configuration

Name Description Example
NODE_ENV Environment for node js "dev", "prod", "test"
APP Name of the application My cool express app
PORT Port to run the application (if you run in heroku this will setup automatically) 3000
HOSTNAME Host name for running the application http://localhost:3000
APP_SECRET Secret for running app. Use a strong hash in production and make sure to rotate it ddd36434-80fe-4f18-b3b6-e645697f7b84
MONGOURI MongoDB connection URI mongodb://localhost:27017/yourapp
MONGOTESTURI MongoDB connection URI for testing mongodb://localhost:27017/test-app
TRANSPORTER_HOST Mail server host smtp.mymailer.com
TRANSPORTER_PORT Mail server port 2525
TRANSPORTER_USERNAME Mail server username harrypotter
TRANSPORTER_PASSWORD Mail server password alohomora

More Repositories

1

simplelb

World's most dumbest Load Balancer
Go
424
star
2

kache

A simple in memory cache written using go
Go
347
star
3

teks

Easily get custom go template based outputs to your command-line tool. Like in docker/kubernetes
Go
42
star
4

vue-spa-multiple-layouts-example

Sample application that shows how to use multiple layouts in single SPA app
JavaScript
41
star
5

hackerrank-dl

Download submissions from a HackerRank contest and sort them according to programming languages
Go
24
star
6

simple-microservice-example

A very simple microservice example with NodeJS, Python and Docker
JavaScript
15
star
7

javafxrealtimechartsdemo

A demo for JavaFX realtime charts
Java
8
star
8

tic-tac-toe

Elixir tic-tac-toe
Elixir
6
star
9

hermes

A tiny, fast MQTT broker
Rust
6
star
10

nestjs-dataloader-example

NestJS GraphQL Dataloader integration example
TypeScript
5
star
11

typescript-express-jwt-knex-boilerplate

Typescript Express JWT Knex Boilerplate
TypeScript
4
star
12

wso2-am-ci-cd-demo

Demo files for WSO2 APIM CI/CD workflow
Shell
4
star
13

node-przelewy24

NodeJS Library for przelewy24 Moved to https://github.com/ingameltd/node-przelewy24
TypeScript
4
star
14

terminal-clock

A digital clock that displays time in linux terminal
C
3
star
15

mp3t

Extract tag info from Mp3 files
Rust
3
star
16

pera-wifi-easy

Simple script for control pera wifi in a linux env :)
Shell
3
star
17

jenkins-test

Java
2
star
18

Fractals

A simple fractal project using Java
Java
2
star
19

blog

SCSS
2
star
20

vehicle-tracking-system

A simple vehicle tracking system
PHP
2
star
21

kasvith.github.io

HTML
2
star
22

nuxt-k8s-test

Vue
2
star
23

joomla-dropbox

A simple dropbox plugin for Joomla! 4
PHP
2
star
24

AggregateParallelTasks

JavaFX aggregate parallel tasks
Java
2
star
25

test-repo

A test project
Java
1
star
26

congenial-sniffle

Shell
1
star
27

acme

acme api
1
star
28

githubmailman

1
star
29

sdl-book

Completing SDL book examples with modern C++
CMake
1
star
30

appa

appa is a lightweight API gateway written in Rust
Rust
1
star
31

php-dropbox-api

Complete Dropbox API for PHP
1
star
32

Cute2D

A cute 2D game engine
1
star
33

openweathermap-ballerina

Open Weather Map connector for ballerina
Ballerina
1
star
34

plyr-react-nextjs-example

CSS
1
star
35

naive_bayes

Simple Naive Bayes
Python
1
star
36

ghnotif

Poke you when notifications are left untouched
1
star
37

BloodDonationManagement

Blood donation management system with PHP
PHP
1
star
38

dndkit-collapsible-reproduce

Created with CodeSandbox
TypeScript
1
star
39

project_euler

C
1
star
40

play-with-rsc

TypeScript
1
star
41

media-manager

☁️ A cloud based media manager to manage media files integrated with Dropbox, Google Drive etc.
Vue
1
star
42

fruits-360-experiments

Jupyter Notebook
1
star
43

sgrep

A simple grep program written with Deno
TypeScript
1
star
44

ballerina-mailgun

Mailgun client for ballerina
Ballerina
1
star
45

the-art-of-elixir

1
star
46

cibf

An app that help folks to easily participate Colombo International Bookfair
TypeScript
1
star