Sample MEAN app to practice with authentication.
Install nodemon globally (it will auto restart your node app when saving changes to files) run 'npm install -g nodemon'
-
run 'git clone'
-
navigate to the cloned directory
-
run 'npm install'
-
Update the database.js uri property with a uri to your mlab database
-
Update the database.js secret property with your passport secret for tokens Optional
-
a) Run 'nodemon' at cloned directory in node cmd prompt (if you installed nodemon)
-
b) Run 'npm start'
-
Open a new cmd prompt
-
Navigate to the angular-src folder inside of the cloned directory
-
run 'ng serve'
-
Open a browser and navigate to http://localhost:4200/
Happy coding! :)