Code Monkey home page Code Monkey logo

yelp-camp's Introduction

Yelp Camp

Requirements

For development, you will need Node.js and MongoDB installed on your environment.

Node

To install Node, follow the official instructions for your OS here. You can also use a package manager if you prefer not to perform manual installation, instructions can be found here.

After installation, you should be able to run the commands below:

$ node --version
8.11.1

$ npm --version
5.6.0

MongoDB

MongoDB has easy to follow instructions for installation on your OS. Just like Node, you should be able to run this command after installation:

$ mongo --version
MongoDB shell version v3.6.4
git version: d0181a711f7e7f39e60b5aeb1dc7097bf6ae5856
OpenSSL version: OpenSSL 1.0.2o  27 Mar 2018
allocator: system
modules: none
build environment:
    distarch: x86_64
    target_arch: x86_64

Install

Clone the repo and run npm install on the directory to download all Node dependencies:

$ git clone https://github.com/YuanchengWu/yelp-camp.git
$ cd <PROJECT DIRECTORY>
$ npm install

Start & watch

Simply have Mongo Daemon running then start Node on app.js:

Open a terminal to run Mongo Daemon on project directory:

$ mongod

In another terminal session, run:

$ node app.js

Go to localhost:3000 in your browser to view the web app.


Languages & tools

HTML

  • EJS for some templating.

JavaScript

CSS

  • Just plain CSS

Database

  • MongoDB for account and content creation/management.

Routing

  • Express framework for routing and middleware.

Notable Node/Express packages

  • body-parser for incoming request handling/parsing.
  • mongoose for simplifying MongoDB development.
  • flash to flash messages on pages.
  • passport for user authentication.

yelp-camp's People

Contributors

yuanchengwu avatar steamedrice11 avatar

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.