Coder Social home page Coder Social logo

binniback-sailsjs's Introduction

Binniback-sails

Backend listo para implementar utilizando Sails v1.

Version info

This app was originally generated on Mon Dec 09 2019 13:24:05 GMT-0600 (CST) using Sails v1.2.1.

Correr en producción

Para ejecutar el proyecto en producción cambiar migrate: a safe el archivo /binniback-sails/config/models.js

migrate: 'safe',

Whitelist de acceso al API

Es necesario dar de alta las URL's o IP's permitidas para hacer peticiones a la API: Para asignarlo es necesario modificar el archivo: /binniback-sails/config/security.js

Por default la URL permitida es 'http://localhost:3000'

module.exports.security = {
  cors: {
    allRoutes: true,
    allowOrigins: ['http://localhost:3000'],
    allowCredentials: true,
  },
  csrf: false
};

Base de datos

Cambiar el adaptador de base de datos en la ruta: /binniback-sails/config/datastores.js Es necesario instalar el modulo de node de cada gestor de base de datos, principales:

MySQL
$ npm install sails-mysql
PostgreSQL
$ npm install sails-postgresql
MongoDB
$ npm install sails-mongo
MSSQL
$ npm install waterline-mssql

binniback-sailsjs's People

Contributors

goshmx avatar

Watchers

James Cloos avatar  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.