Giter Club home page Giter Club logo

minds-db's Introduction

MindsDB Takehome Assessment

Completed by William Schutte.

Getting Started

This app is a Next JS app running via pnpm. To install/run:

  • pnpm i
  • pnpm dev

Notes

I spent a majority of the time on the addDatasource page. I stored the data source items in a Redux Slice and used the input field as a text query and the dropdown input as a basic filter (created an arbitrary field to filter by). Selecting a data source updates the Redux store with the id of the item. In the second page, credentials, the data source item is retrieved using the selected id and the name/icon is displayed. I did not get to the form on this page, but it would involve creating a reuseable input field component, connecting formik (or another form library) for validation, and sending the form data to the next page or the API.

Navigation is somewhat functional. For simplicity, the back buttons just return to the previous page, not necessarily the page that came before in the workflow.

Due to the reuse of so many specific colors, I created a theme that is accesible by any styled component via props.theme.colors. This allowed me to reference all the shades of zinc throughout the app.

The app is organized as such:

  • pages/ Directory of Next required setup files, the home page (index.tsx), add datasource page (addDatasource.tsx), and credentials page (credentials.tsx)
  • components/ Folder for subcomponents of the pages
  • components/addDataSource Components used on the addDataSource page
  • components/credentials Components used on the credentials page
  • components/navbars Navbar compoents (used in layout)
  • components/page General components used throughout the app
  • redux Folder for redux store and slices

minds-db's People

Contributors

william-schutte 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.