Git Product home page Git Product logo

nightlife's Introduction

This project is live at: https://immense-island-28217.herokuapp.com/

Responsively-designed full-stack application that allows users to track nightlife activity in their area. Users can search for a town or city, and receive a list of bars local to that area. Each venue entry contains related information, including the number of users planning to attend the bar that particular night. Authenticated users can add themselves to the count of those attending.

This application consists of a user-interface written with React.js, an Express API server, and a MongoDB database consisting of two collections. The application receives JSON data from the Yelp API in order to generate city-specific venue information. The front-end architecture is structured around stateful container components, within which stateless functional components render UI. Front-end routing is handled by React-Router. Database operations within the Express server are mediated by the official MongoDB Node.js driver. A time-to-live index placed on one of the database collections ensures that venue records (which track venue attendee numbers) are deleted at 5am daily.

Express-Session and Connect-Mongo manage session-storage within the database. User passwords are hashed and salted using bcrypt, whilst user input is sanitized via Sanitize-Html. Application styling is achieved through the use of modular Sass stylesheets.

Note: This application is hosted on Heroku. Please allow a few seconds for the hosting server to wake up when attempting to view it live.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.