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 Introduction
boiler-template-skeleton's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.