Giter Site home page Giter Site logo

istrategy's Introduction

requirement:

  1. Node 18 // node -v
  2. Yarn //yarn -v
  3. Redis // redis-cli
  4. Mysql server //mysql -u root -p

once you meet the requirement we are good to go

Installation Steps:

  1. Install Dependencies:

    yarn install
    
  2. Build the Application:

    yarn build
    
  3. Create .env File:

    • Create a file named .env in the root folder.
    • Add the following content as an example:
    NODE_ENV=development
    DATABASE_URL="mysql://root:password@localhost:3306/1ubank?schema=public"
    REDIS_URI="redis://127.0.0.1:6379"
    
    # SERVER CONFIG
    PORT=8080
    HOSTNAME=0.0.0.0
    PLATFORM_AUDIENCE=1
    PLATFORM_PUBLIC_KEY=123123
    APP_KEYS='secret key,secret key you used'
    ADMIN_USER_ROOT_EMAIL=[email protected]
    ADMIN_AUTH_PASS=[email protected]
    ADMIN_AUTH_USER=[email protected]
  4. Run Database Migrations:

    yarn migrate
    
  5. Seed the Database:

    yarn seed
    
  6. Run Test:

    yarn test
    
  7. Start the Application in Development Mode:

    yarn dev
    

These steps cover setting up the necessary dependencies, configuring environment variables, and preparing the database for your application, it starts the application in development mode.

Make sure to replace placeholders like password, [email protected], etc., with actual values relevant to your application.

NOTE: You can login to the dashboard with your username and password, [email protected] and [email protected] respectively

{{BASE_URL}}/admin image admin

select article_id as article_no ,currency_name as article,provider_name as provider, article.provider_id as provider_no, price from article left join currency on article.currency_id = currency.currency_id left join provider on article.provider_id = provider.provider_id;

+------------+-------------+--------------+-------------+-------+
| article_no | article     |  provider_no |    provider | price |
+------------+-------------+--------------+-------------+-------+
|          1 | EU "Pounds" |            3 | Flutterwave |  1000 |
+------------+-------------+--------------+-------------+-------+

image drawSQL

Find Answer Here

istrategy's People

Contributors

michaelpiper avatar

Watchers

 avatar

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.