/Contact-Manager

Sample application using Node.js, Express, Passport.js, Facebook Login, Angular and Twitter Bootstrap

Primary LanguageCSSOtherNOASSERTION

Contact Manager Inc

Licensing

The files in this repository are, unless stated otherwise, released under the Mit License. You are free to redistribute this code with or without modification. The full license text is available here.

Description

Contact Manager Inc is an Enterprise level company that is looking to develop a new web application that allows a user to manage their contacts from a dashboard. The dashboard would contain contact widgets to store information about friends, family and work colleagues. They want you to design and develop a system that can be passed on to the development team that would be built out with additional widgets and functionality using your design, code and data models. The following is a list of required functionality put together from the business team. Feel free to add additional functionality.

When the application logs in for a specific user, it should load all of the contacts. The user needs to be able to add, edit or remove contacts. When a user wants to add a user, it needs to allow input for at least the first name, last name, phone number, email, company and job title. The widget needs to display the contact’s full name, phone number and email. Clicking on the widget will display a popup that lists the complete contact information for the selected user.

Visit Sample Site: https://contactmanager.matrixdigital.com.

Dependencies and Installation

Ensure Node is installed. This can be done through your package manager or from their website.

Clone this repository:

$ git clone https://github.com/rtorcato/contactmanager.git

Change directory into the application and use npm to install the application's dependencies:

$ cd contactmanager
$ npm install

Rename sample.env to .env

$ mv sample.env .env

Running the application

  • Set environment variables for your server by editing the .env file
  • Default port is 8080 and can be changed in the .env file
  • Set FACEBOOK_APP_ID and FACEBOOK_APP_SECRET in the .env file
$ npm start

Deploying the application

You can deploy a live copy of this application to Heroku with the button below.

Deploy