A default loopback-angular startup project with userauthentication already in place.
Userauth views are written in angular(1.4.0) which use a lb generated angular service. Client project was scafolded using yo angular
.
Project is to be forked and developed further as whatever site you want.
- in root folder:
npm install
- in client folder:
npm install
&bower install
Change Email SMTP stuff in server/datasources.json
to an smtp server you can use:
"mail": {
"name": "mail",
"connector": "mail",
"transports": [
{
"type": "SMTP",
"host": "smtp.gmail.com",
"secure": true,
"port": 465,
"auth": {
"user": "[email protected]",
"pass": "GOD"
}
}
]
}
How to use google SMTP server?
Change initial created user in server/boot/my-boot-script.js
to an email you own.
User.create({email: '[email protected]', password: 'GOD', emailVerified:true}, function(err, userInstance) {
//...
});
- in root folder:
node .
- in client folder:
grunt serve
- in client folder:
grunt build