Giter Site home page Giter Site logo

contact-manager's Introduction

Angular + Node Contact Manager

Exercise files for Lynda.com course: Angular API Communication and Authentication

This project was generated with Angular CLI version 1.0.2.

Using the files

Exercise files for each video can be found in the exercise-files folder, which contains the code files at the start state and end state for each video. If at any point you wish to jump in to a specific video's exercise files, be sure to run npm install to install your dependencies. Please note that not every video will have exercise files.

I recommend you start with the start-here folder (go ahead and rename it), and make changes in that directory as you work through each video. The completed app is in completed-app.

Note Always make sure you make a copy of .env.sample, rename it to .env, and add in the necessary environemtn variables for both the JWT secret and the MongoDB connection string.

Build tasks

Different npm scripts for your workflow:

  • npm start: this will run a production build of the Angular app, and place the bundles in server/public directory, and then will start the Node + Express app. This is typically what you would want to do if deploying the applicaiton.
  • npm run watch: this will utilize webpack-dev-server to run the Angular app in a live development server, watching for any changes, and also start the Express app at port 3000. Since the app is running on port 4200, we supply a proxy config file to proxy all requests to /api to localhost:3000/api. Making changes to your code will live reload both the client and the server. Use this for development.
  • npm run sample: this will seed your database with initial contacts and users.

Technologies used

  • Angular v4.1.1
  • Angluar CLI v1.0.2
  • Node v6.10.0
  • Express v4.x
  • MongoDB
  • JSON Web Tokens

contact-manager's People

Contributors

vidyaasagar avatar

Watchers

James Cloos avatar  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.