Skip to content

BlogBook is a dynamic Web App that allows users to create, read, update, and delete their own posts. This app was designed to give users a great experience with sharing their thoughts or stories with the world.

phillycowboy/blog-book-sinatra-web-app

Repository files navigation

BlogBook

Welcome to BlogBook! BlogBook is a social platform where Users can share their thoughts, stories, or anecdotes with the world. BlogBook was created as an outlet for those of us stuck at home in these uncertain times. Think you have a story, or an idea that you want to share with the world?

Create an account and get typing!

Installation

First execute:

$ bundle install

Second execute:

$shotgun 

This will give you a port in your browser (type 'localhost:9393/' in your URL bar) to interact with the application itself. This must be running the entire time you are using the application. To exit shotgun, navigate you your terminal where you executed it and hit CTRL+C on your keyboard. Afterwhich the application will no longer respond until shotgun is excuted again.

Usage

To get started please run the command 'bundle install' in the terminal. This will ensure that all the Gems are loaded and ready to use. To access the BlogBook App. Type 'shotgun' in the terminal. There you will be prompted to navigate to 'localhost:9393'. Type in this address in the URL bar to naigate to the home page.
Once you are in the home page you can either sign up or log in. If you are a first time user, welcome! Please sign up by providing a unique Username(email) & Password so that we can locate your future Blogs for you. If you are a returning user please sign in with your current credentials.

After you have succesfully signed in/signed up we welcome you to browse other users blogs that everyone is allowed to see. If you are feeling inspired, navigate to CREATE A NEW POST at the top of the page. There you will be given a form to fill out to go along with your content. When you are ready push the 'post blog' button on the bottom of your form.

If you need to edit a newly posted blog, or a previous blog, on each indvidual blog you will see an 'Edit Post' option please navigate here to be directed to the edit form. Make all the necessary changes that you need. Then submit.

If you need to delete a post for any reason, please select the title of your post, navigate the the bottom of the page, and hit the 'delete post' button.

If you would like to see a list of avaiable or already created genres please navigate the the 'ALL GENRES' tab located inside your nav bar the top of the screen.

We encourage you to post and write often!

Once you are ready to leave the site, be sure to log out.

Development

After checking out the repo, run bundle install to install dependencies. You can also run shotgun for an interactive port number that will allow you to view the app in your browser. Navigate to 'localhost:9393' in the URL bar after you have executed shotgun in your terminal. Remeber that shotgun must be running while your are interacting with the app on the browser. After you have logged out run CTRL+C in your terminal to end the shotgun session.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/happyhour. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The app is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the BlogBook's project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

BlogBook is a dynamic Web App that allows users to create, read, update, and delete their own posts. This app was designed to give users a great experience with sharing their thoughts or stories with the world.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published