This project was generated using Nx.
Install NodeJS from https://nodejs.org
Clone the code using the following command
git clone https://github.com/ssk63/dsmn8-web-feed.git
Install the npm packages using the following command
npm install
Start the application using the following command
ng serve web
The application runs on http://localhost:4200/
First Install the JSON GraphQL server globally. Run the following command
sudo npm install -g json-graphql-server
Then start the GraphQL server. Run the following command in the terminal.
npm run graphql-server
Navigate to http://localhost:5000/.
Example GraphQL allFeeds query:
query AllFeeds {
allFeeds {
id
name
content
text
boostPostMetrics
imgUrl
videoUrl
isShared
isLiked
authorName @client
__typename
}
}