Skip to content

agungTuanany/storybooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoryBooks

StoryBooks is a CRUD apps for writing a list of story or blog-post, you can create your own story in 'public' or 'private', if you choose your story in 'private' your private story wouldn't show up in Public stories.

The tech I learn is using google Oauth20 for logging functionality, and form-validation status when you create a story from server-side validation.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

  1. Clone the repo
git clone https://github.com/agungTuanany/storybooks.git
  1. Install pakcage.json file
npm install or npm i
  1. run npm or yarn manager in root folder
npm run dev

#or

yarn dev
  1. create dev.js in config folder for development environment
# in config folder
  touch dev.js

  module.exports = {
    mongoURI = 'your-mlab//<username><pass>/<your-mlab-db>'
    // or using mongod
    //mongoURI = 'mongod://localhost:127.0.0.1/<your-local-db>'
  }

Built With

  • HTML5
  • SASS
  • VanillaJS
  • Node.js
  • Express
  • MongoDB | Using mongoDB Atlas
  • Heroku

plugin

  • bcyrptjs
  • body-parser
  • connect-flash
  • cookie-parser
  • express
  • express-handlebars
  • method-override
  • moment
  • mongoose
  • node-sass
  • passport
  • passport-google-oauth20

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

@bradTraversy