Skip to content

(WIP) A real-time group chat app (similar to Slack/Discord) using WebSockets and Angular 5 / Electron

Notifications You must be signed in to change notification settings

Hughp135/angular-5-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Setting up local project

Make sure you have a MongoDB server running locally on port 2017 (or change the mongodb.url in config/default.yml).

Type the following commands:

npm install

npm run db:seed optional: generates sample data (servers + users + channels)

npm start (starts the front-end app)

npm start:server:dev (Must be running alongside the frontend)

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Run docker build -t imagename . to build docker image (production only)

Running unit tests

Run npm test to execute the unit tests (front & back-end)

Running end-to-end tests

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

Project To-Do list

Trello board at https://trello.com/b/b5DeyaVi/chat-app

Deploying

Run docker-compose pull to pull latest image (currently image is private) Run docker-compose up to launch the app in production (only I can do this)

About

(WIP) A real-time group chat app (similar to Slack/Discord) using WebSockets and Angular 5 / Electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published