Skip to content

wilkija/OAuth-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoryBooks - OAuth Demo

This app is an example blog website where users can save stories for private use or post publicly to be viewed by the larger audience of writers. It is a Node.js/Express application that allows a user to login using Google OAuth for authentication.

All data including authorized users, user sessions, and story post details is persisted via MongoDB Atlas. UI was generated using MaterializeCSS and Handlebars for HTML templating.

NOTE ON REPO USE: Be sure to add MongoDB URI and Google OAuth credentials to a config.env file if you decide to test this repo yourself.

StoryBooks Login preview Google Auth Sign In preview

Dashboard page example Public stories page example

Tech Used:

Node, Express, MongoDB, HTML, CSS, JavaScript, Materialize, Handlebars

Noteable Dependencies

Lessons Learned:

  • CKEditor script was brought in to provide What-You-See-Is-What-You-Get textarea experience to add/edit story pages. This was a hidden gem for me.
    • Upon submission of the form, the blog post text was stored in the database with HTML formating of the styles. I look forward to exploring the other editor features in the future.
CKEDITOR.replace('body', {
    plugins: 'wysiwygarea, toolbar, basicstyles, link'
})

Example add story page

Acknowledgements:

Traversy Media, Mayanwolfe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published