Code Monkey home page Code Monkey logo

fuse-demo's Introduction

Fuse Demo

This demo showcases Fuse's backend and front-end API capabilities using a Node.js backend, Next.js for the web front-end, and React Native for the mobile front-end. Follow the instructions below to download the project and run it locally.

Prerequisites

Before proceeding, make sure you have the following installed on your system:

  • Node.js
  • npm (comes bundled with Node.js)
  • Yarn (optional, for React Native front-end)

1. Running the Backend

1.1. Clone the repository

Clone the project to your local machine using your preferred method (SSH or HTTPS).

1.2. Set up environment variables

Create a .env file in the project root directory using the provided .env.template. Replace the placeholder values with your own credentials.

1.3. Install backend dependencies

npm install

1.4. Start the backend server

npm run dev

2. Running the Front-end

Choose either the web front-end (Next.js) or mobile front-end (React Native) to run and connect to your backend server.

2.1. Next.js front-end

2.1.1. Navigate to the front-end/nextjs-app directory.

2.1.2. Create a .env file in this directory using the provided .env.template. Update the NEXT_PUBLIC_BACKEND_URL to the URL of your running backend.

2.1.3. Install front-end dependencies:

npm install

2.1.4. Start the Next.js app:

npm run dev

2.1.5. Open your browser and visit the index page to test connecting to a bank.

2.2. React Native front-end

2.2.1. Make sure you have completed all the prerequisites for running a React Native application here.

2.2.2. Navigate to the front-end/ReactNativeApp directory.

2.2.3. Update the BACKEND_URL in front-end/ReactNativeApp/App.tsx to the URL of your running backend.

2.2.4. Install front-end dependencies:

yarn

2.2.5. Start the React Native application:

npx react-native start

Now, you should have either the web or mobile front-end running and connected to your backend server. Test the application by connecting to a bank and explore the features provided by the Fise Demo.

fuse-demo's People

Contributors

adibfuse avatar tundealao avatar

Forkers

adibfuse

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.