Skip to content

An application I'm building to learn sails.js

Notifications You must be signed in to change notification settings

timestep/activityoverlord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

activityOverlord

a Sails application

This is a part of a series of screencasts which build a sails application from scratch. You can follow the progress over at my github sailscasts page.

  • Episode 1: goes over installing sails and creating the initial sails project.

  • Episode 2: Creating a Sign-up Page, ‘First-look’ at Routes, and Adding Twitter Bootstrap

  • Episode 2a: Added jquery, showed ya how to load jquery.js before bootstrap.js by changing Gruntfile.js, minor changes to layout.ejs and added a custom.less file to styles.

  • Episode 3[Updated]: Creating a user model and controller, creating a sign-up page, 'first-look' at sails blueprints.

  • Episode 4: Creating a user account and enabling csrf protection.

  • Episode 5: Handling validation errors, creating a flash message and injecting it into the sign-up page.

  • Episode 6: Creating a policy and adding client-side validation to the sign-up page.

  • Episode 7: Create a show action which will be our very humble profile page.

  • Episode 8: You'll prevent html from being run on user generated content, create a user administrative page as well as flesh out the index, edit, and update action.

  • Episode 9: In episode 9 you'll create a delete action and implement a best practices methodolgy using a form with a hidden input field for deleting a user account.

  • Episode 10: In episode 10 you'll quickly switch out the application's underlying database to mongoDB with a few changes to the adapter configuration files.

Special Note: I moved the adapter configuration to local.js which is ignored by .gitignore, therefore, you'll have to make the changes specified on the video on your own.

  • Episode 11: In episode 11 you start encrypting passwords with bcrypt.

  • Episode 12: In episode 12 learn how to clone the activityOverlord project, install the necessary dependencies as well as tasks to get the application up and running from the github repository.

  • Episode 13: In episode 13 learn how to create a sign-in page, create a session controller with a new action and take a relatively deep dive into understanding sessions.

  • Episode 14: In episode 14 learn more about user authentication, creating the create and destroy actions of the session controller as well as restricting access to the application through the use of policies.

Special Note: There's an issue in this episode that requires one to be authenticated to create an account...oops. This issue was described in episode 16 and fixed in the Episode 16-17 commit.

  • Episode 15: In episode 15 you’ll change the layout page to greatly improve post authentication navigation.

  • Episode 16: In episode 16 you'll make a change to the policies and sign a user in when an account is created. This will fix some stuff I forgot to do back in episode 14.

  • Episode 17: In episode 17 you'll add a distinction between a regular user and an admin user through the use of additional policies.

About

An application I'm building to learn sails.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published