Giter Site home page Giter Site logo

productdock / crud-app-with-refine Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.06 MB

Friday Talk - Building CRUD applications with Refine.dev, a React meta-framework

Makefile 0.49% Go 11.22% JavaScript 9.58% HTML 3.73% TypeScript 72.50% Shell 2.48%
apisix golang keycloak mongodb react refine

crud-app-with-refine's Introduction

[Friday Talk] CRUD app with React meta-framework

Infrastructure

Check the README file in infra directory.

Strapi

If previous configured do run: npm run start in refine-strapi-system-news directory

You can log in to http://localhost:1337 with [email protected]/Strapi20242024

Configuration

Show this steps for other collection

  1. Create Strapi project: npx create-strapi-app@latest refine-strapi-system-news --quickstart

  2. Create a new collection type with Display name System news update this will create:

    • API ID singular: system-news-update
    • API ID plural: system-news-updates
  3. Create 2 fields for this collection: Title which is a Short text and Description which is Rich text (blocks)

  4. Save

  5. In Content manager Create new content, save and publish.

  6. We want to open the API so go to Settings -> USERS&PERMISSIONS PLUGIN -> Roles, find Public role and in Permission for System-news-update select all

  7. Save

If you visit http://localhost:1337/api/system-news-updates your previous Content, that you created above, should be displayed.

API

Check README file in api directory

Refine UI

Flow:

  1. First tutorial
  2. Basic App
  3. Basic Auth
  4. Adding keycloak
  5. 2 data providers
  6. Custom update action

Notes:

  • Be sure that the infra containers are running and are configured.
  • Don't forget to run strapi from refine-strapi-system-news directory
  • Run ui with: npm run dev

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.