Create public and private stories from your life: https://story-books-friends.herokuapp.com/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- You need to have the config.env file set up with three varaibles:
- MONGO_URI
- GOOGLE_CLIENT_URI
- GOOGLE_CLIENT_SECRET
- All of them can be easily obtained from their respective websites but make sure to name them exactly as mentioned.
- Simply run the following command from your terminal to get the source code on your system in the desired directory.
git clone https://github.com/aditmodhvadia/story-books.git
-
Or you can fork this repository and then create a pull request for implementing the changes
-
You can checkout the live deployment of the webapp here: https://story-books-friends.herokuapp.com/
-
All commits on the master branch will be deployed to the live URL via Heroku
-
If you want to deploy your version then keep these steps in your mind:
- DO NOT make your config.env file public. Add it to .gitignore
- I used Heroku to deploy the Node.js app
- Most hosting services will allow you to set environment variables from the dashboard, so use that to keep the keys secret.
- docker run -p 27017:27017 -d mongo:3.6-xenial
- Node.js - Node.js is a javascript runtime built on Chrome's V8 Javascript engine.
- MongoDB - MongoDB is a general purpose, document-based, distributed database built for modern application developersa and for the cloud era. Used MOngo Atlas for cloud hosted database service
- express - Fast, unopinionated, minimalist web framework for Node.js
- express handlebars - Used for front-end rendering from the server (Server-side rendering)
- Passport - Simple, unobstrusive authentication for NOde.js
- Mongoose - Used for connection with MOngoDB and object modelling
- Method Override - Used to support PUT and DELETE requests in forms
- Heroku - Used Heroku hosting service for hosting Node.js server
Check out Contributing.md
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Adit Modhvadia - Initial work - aditmodhvadia
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
- Brad from TraversyMedia for his exceptional tutorial videos