FactFlow is a web-based application which fetches random facts. Powered by the API Ninjas facts API.
- Get thousands of random facts.
- Powered by API-Ninjas.
- Bookmarks-save your favourite facts
- Toast notifications using react-toastify.
- Small loading animations using React Spinners.
demo.mp4
- Node.js (v-14 or later)
- npm or yarn
- API-Ninjas API key
First, head over to API-Ninjas and generate your own API-Key, it's completely free. Then, follow the below mentioned steps :
- Clone the repository.
git clone https://github.com/sayanjit082805/FactFlow.git
cd FactFlow
-
Install dependencies with
npm install
-
Create a .env file in the root directory of the project and enter your api key like this:
VITE_API_KEY = 'your-api-key'
- Start the application with
npm run dev
. - Next, open your browser and navigate to
http://localhost:5173
or the port as specified by vite.
- The API is provided by API-Ninjas.
Contributions are always welcome!
-
Fork the repository
-
Create a new branch
(git checkout -b feature-branch)
-
Commit your changes
(git commit -m 'Add new feature')
-
Open a pull request
This project is licensed under the Unlicense License. See the LICENSE file for details.