Skip to content

Chat sample app with Angular 4 for the frontend client and Feathers 2 for the backend server, with user authentication

License

Notifications You must be signed in to change notification settings

altuzar/angular4-feathers2-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular4-Feathers2-Chat-App

A real-time chat application with Angular 4 for the client and Feathers 2 for the server with users authentication.

About

This project uses Angular. One framework, mobile & desktop. And Feathers. An open source web framework for building modern real-time applications.

Getting Started

Getting up and running is easy. First launch the server and then the client.

  1. Make sure you have NodeJS and npm installed.

  2. Install Angular 4

    npm i -g angular-cli
    
  3. Clone the repo

    git clone https://github.com/altuzar/angular4-feathers2-chat-app.git
    
  4. Install the server dependencies

    cd angular4-feathers2-chat-app
    cd server
    npm install
    
  5. Start the server

    npm start
    
  6. Goto to browser and check link as below

    http://localhost:3030/
    
  7. Install the client dependencies in a different terminal.

    cd ..
    cd client
    npm install
    
  8. Start the client

    npm start
    
  9. Goto to browser and check link as below

     http://localhost:4200/
    

Testing

To run the tests in the server, stop the server and run

```
cd server
npm test
```

and all your tests in the test/ directory will be run.

To run the tests in the client, run

```
cd client
ng test
```

to execute the unit tests via Karma.

Run ng e2e to execute the end-to-end tests via Protractor.

Before running the tests make sure you are serving the app via ng serve.

Further help

For more information on all the things you can do with Feathers visit docs.feathersjs.com.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Copyright (c) 2017

Licensed under the MIT license.

About

Chat sample app with Angular 4 for the frontend client and Feathers 2 for the backend server, with user authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages