Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 830 Bytes

README.md

File metadata and controls

50 lines (39 loc) · 830 Bytes

Descartes Server

Express RESTful backend for Descartes.

made with ❤️ in Pittsburgh, PA by QuantumStack

Configuration

Go to ./app/config.js and fill in the following.

const config = {

  // Application Settings
  app: {
    node_env: 'dev',
    port: 3000,
  },

  // Authentication Settings, keep care of this.
  auth: {
    secret: 'secret_goes_here',
    salt_rounds: 12,
  },

  // Database Settings
  db: {
    development: {
      host: 'localhost',
      port: 5432,
      name: 'descartes',
      user: 'adityapillai',
      pass: null,
    },
    production: {
      host: 'localhost',
      port: 5432,
      name: 'descartes',
      user: 'adityapillai',
      pass: null,
    },
  },

};

module.exports = config;