Git Product home page Git Product logo

boiler-template-skeleton's Introduction

1.- iniciar proyecto =>> npm init -y 2.- instalar dependencias =>> npm i express sequelize pg pg-hstore cors dotenv 3.- instalar dependencias de desarrollo =>> npm i morgan nodemon -D 4.- estructura de carpetas =>> /src ___ /services ___ /models ___ /controllers ___ /routes ___ /seeders ___ /middlewares ___ /tests ___ /utils ___ /templates ___ app.js ___ server.js 5.- crear Scripts en package.json =>> START =>"start": "node ./src/server.js" =>> DEV => "dev": "nodemon ./src/server.js" 6.- crear un SERVER básico 7.- crear una DB pequeña =>> users 8.- autenticar la DB en app.js =>> db.authenticate() 9.- creaer un modelo genérico de usuarios =>> users.model.js => id, username, email, password, isConfirmed 10.- crear el InitModels =>> initModels.js 11.- sincronizar la base de datos =>> db.sync({ force: false }) 12.- registar usuario =>> creación de usuarios => encriptar contraseñas nodeJS bcrypt 13.- autenticación con el login

boiler-template-skeleton's People

Contributors

ariel2319 avatar

Watchers

 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.