Skip to content

A newsfeed app to demonstrate the advantages and disadvantages of an event-driven architecture

Notifications You must be signed in to change notification settings

reloaddev/newsfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

event-driven news feed

REQUIREMENTS

INSTALLATION

  1. Install Angular CLI globally (https://angular.io/cli)

  2. Install Nest.js CLI globally (https://docs.nestjs.com/cli/overview)

  3. Open three terminal/command prompt sessions

  4. 1st terminal session:

  • go into working directory /newsfeed-frontend
  • run "npm install" to install dependencies
  • run "ng serve" to serve the Angular application
  1. 2nd terminal session:
  • go into working directory /feed-microservice
  • run "npm install" to install dependencies
  • run "npm run start" to start the microservice
  • if terminal displays a mongoose error: try to connect via mobile network/hotspot (the error occurs because some router configurations do not allow to conncect the remote database, MongoDB Atlas)
  1. 3rd terminal session:
  • go into working directory /profile-microservice
  • run "npm install" to install dependencies
  • run "npm run start" to start the microservice
  • if terminal displays a mongoose error: try to connect via mobile network/hotspot (the error occurs because some router configurations do not allow to conncect the remote database, MongoDB Atlas)
  1. Visit localhost:4200 to display the application
  • optional: open new tabs to simulate multiple clients

CREDENTIALS

  • Username: 'henrik', Password: 'secret'
  • Username: 'test', Password: 'secret'
  • Username: 'production', Password: 'secret'

REFERENCE Pictures by https://dribbble.com/barnesdesign https://pixabay.com/users/geralt-9301/

About

A newsfeed app to demonstrate the advantages and disadvantages of an event-driven architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published