- This is a fulllstack roject built on with GraphQlAPI, apollo, NodeJs and React.
The app fetches data from a REST api from https://api.chucknorris.io/, using a GraphQL API and Apollo Server. The app then renders all the categories that are available on the frontend which is build using React and Apollo Client. On each category you get to view a single random funny fact on clicking the button.
To run this project locally you need to have this installed on your machine: - VS Code(or any other code editor) - nodejs latest version - update npm pacakges - Modern Web browser but preferably Chrome - Git Bash
The stack of technologies used for this project include:
- GraphQL
- Apollo Server
- Apollo Client
- React
Clone the repo into your local machine using in your CLI/Bash
- git clone https://github.com/PawleN-D/chuck-facts.git
After downloading the repo, gain access and install dependancies to it using:
- cd chuck-facts && npm install
There are two top level directories: server & client. Access each respectively and install dependancies (use different terminals):
- cd server && npm install
- cd client && npm install
After installation of dependancies in both repos, change directory to the main directory:
- cd ..
Run this command and the app will start
- npm run dev
- Paul N Seremu - PawleN-D