Skip to content

DJFancyAl/Travel-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

MileStone Travel Blog

Our Blog site is for the niche who likes to travel the world and share their experience with other travelers around the world.

Tech Stack

Client: React, Bootstrap

Server: MongoDB, Express, Node

Features

  • Responsive

rshoth

rshotv

  • Authentication & Authorization

The great thing about this application is that it is accessible to anyone! Users have the ability to register for an account, customize their profile, and create original content. After an account is created, the user is able to easily log in and work with their blogs or comments:

image

image

Upon account registration the user's password is hashed using BCrypt - so the password is always secure and cannot be viewed by another person. When the user logs in - their password is compared to the hashed password to authenticate the user.

For an added layer of security - we used "JSON Web Tokens" for authorization. Basically, the user is assigned a unique web token ID, which must be used when trying to perform functions such as deleting a blog or updating a profile.

Lastly, authenticated users are given options that anonymous users do not have, such as the ability to write a blog or create a comment. This is achieve with simple "if/then" statements that show these options when the user is authenticated.

Lessons Learned

A hard lesson we learned was, to communicate and Time Management.

Optimizations

What optimizations did you make in your code? E.g. refactors, performance improvements, accessibility

Authors

Credits

Creating the Authentication System

Using React Context for Author Data

Images

Belgrade, Serbia by Lonely Planet.

Italy Coast by wallpapercrafter.com

Mountain Wallpaper by memes.co

Men Nature and Landscapes by wallpaperflare.com

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors