Skip to content

πŸ“– Storybooks - Create public and private stories from your life.

License

Notifications You must be signed in to change notification settings

iampavangandhi/Storybooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“– StoryBooks Β 

Create public and private stories from your life

This app uses Node.js/Express/MongoDB with Handlebars for templating and Google OAuth for authentication.

Project Tutorial

Complete Tutorial (2.5hrs Long) by Brad Traversy: ⏩ Youtube Link

javascript nodejs express mongodb google passport heroku

Development

Add your MongoDB URI and Google OAuth credentials to the config.env file see config.env.example for details or just run npm run postinstall.

# Install dependencies
npm install

# Run in development
npm run dev

# Run in production
npm start

Folder Structure

.
β”œβ”€β”€ πŸ“ config                  # Config files
β”œβ”€β”€ πŸ“ helpers                 # Hbs helper files
β”œβ”€β”€ πŸ“ middleware              # Expresss middlewares
β”œβ”€β”€ πŸ“ models                  # Mongoose models
β”œβ”€β”€ πŸ“ public                  # Public folder
β”‚    └── πŸ“ css
β”œβ”€β”€ πŸ“ routes                  # Express routes
β”œβ”€β”€ πŸ“ scripts                 # Script files
└── πŸ“ views                   # Hbs views
     β”œβ”€β”€ πŸ“ error
     β”œβ”€β”€ πŸ“ layouts
     β”œβ”€β”€ πŸ“ partials
     └── πŸ“ stories

Deployment

Deploy

Contributing

Feel free to dive in! Open an issue or submit PRs

License

MIT Β© Pavan Gandhi

Credit