Giter Site home page Giter Site logo

crgavrila / node-express-boilerplate-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonit-dev/app-boilerplate-1.0

0.0 1.0 0.0 1.15 MB

Node, Express, mongoose, mongodb, typescript

JavaScript 0.30% TypeScript 13.40% Shell 0.06% HTML 86.00% Dockerfile 0.23%

node-express-boilerplate-app's Introduction

NodeJS Server Boilerplate

by Joao Paulo Furtado

Table of Contents

Installation

First you should configure your serverConfig.ts file inside src/constants folder. It should follow the following format:

const appName = 'App Boilerplate';
const supportEmail = '[email protected]';

export const serverConfig = {
  app: {
    name: appName,
    devUrl: 'http://localhost:3000/',
    productionUrl: 'https://appboilerplate.io'
  },
  email: {
    supportEmail,
    sendGridAPIKey:
      'API_KEY',
    templatesFolder: './src/emails/templates',
    globalTemplateVars: {
      'Product Name': appName,
      'Sender Name': 'Joao',
      'Company Name, LLC': 'App Boilerplate Inc',
      'Company Address': '1234, Street Rd. Suite 1234'
    }
  },
  env: 'dev',
  maintenanceMode: false,
  language: 'eng',
  jwtSecret: 'yourJWTTOKEN'
};

Usage

Run:

docker-compose up

Useful commands

  • SSH into running container:
  1. Check the running docker containers:
docker ps

then select one (name). For example: docker-node-mongo. Then run:

docker exec -it docker-node-mongo /bin/bash

Mongo Admin

node-express-boilerplate-app's People

Contributors

jonit-dev avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.