Skip to content

A full stack nightlife coordination app with nodejs, expressjs, passportjs, mongodb, and ejs

Notifications You must be signed in to change notification settings

Tri-Vi/Nightlife_Coordination_App

This branch is 1 commit ahead of triminhvi/Nightlife_Coordination_App:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d5d235b · Jan 23, 2020

History

10 Commits
Oct 18, 2017
Oct 18, 2017
Oct 19, 2017
Oct 18, 2017
Oct 18, 2017
Oct 18, 2017
Jan 23, 2020
Oct 19, 2017
Oct 18, 2017
Oct 19, 2017

Repository files navigation

Nightlife Coordination App

Project Overview

This application is a full stack JavaScript nightlife coordination app that lets the users view all bars in their area. The users can reserve a place and keep track of their friends who are going to the same places. The application also utilizes the authentication by using PassportJS(Local & Facebook Strategy).

The logic of the application is described below:

As an authenticated user

  • The user can view all bars in his/her area.
  • The user can add himself/herself to a bar to indicate he/she is going there tonight.
  • The user can remove himself/herself from a bar if he/she no longer wants to go there.

As an unauthenticated user

  • The user can view all bars in his/her area.

How I built this application?

The application is divided into 3 parts:

  1. Backend:
    • bcrypt : hash user's password when a user signs up and compare hashed password when user logins
    • body-parser: parse the input fields from forms
    • connect-flash : raise error messages when errors occur
    • cookie-parser : parse cookie
    • ejs : view engine
    • express : control routes
    • express-session : session
    • helmet : secure express app by setting various HTTP header
    • mongoose : database (User && Place)
    • morgan: HTTP request logger middleware
    • passport: Authentication
    • passport-local Authentication for Local Strategy
    • passport-facebook Authentication for user with Facebook account.
    • YELP API: Bars Data.
  2. Frontend:
    • Bootstrap
  3. Map
    • Google Map API

About

A full stack nightlife coordination app with nodejs, expressjs, passportjs, mongodb, and ejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.1%
  • JavaScript 44.7%
  • CSS 5.2%