Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wnederhof committed Apr 16, 2024
1 parent 6999511 commit 6dec683
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 26 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

We are very excited to have you here!

Basecode is a full-stack platform for creating web apps using Java/Kotlin and React. The platform consists of several
Basecode is a full-stack scaffolding tool for Java/Kotlin + React applications. The platform consists of several
generators to generate the basic structure of your web application.

(Code generated by) Basecode is:
The goal of Basecode is to minimize the time spent on bootstrapping a new project and maximize the time spent on
delivering business value.

Basecode / the code generated by Basecode is:

- **Productive**, as it allows you to generate authentication and CRUD functionality with 1-N relations, including
migrations, GraphQL schema files, unit tests and integration tests.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { showError } from '@lib/notifications'
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { gql, OperationResult, useMutation } from 'urql'
import { Mutation } from '@generated/graphql'
import { useFormik } from 'formik'
import { Form } from '@components/Form'
import { Form } from '@components/ui/Form'

export interface LoginProps {
onLogin?: () => void
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { showError } from '@lib/notifications'
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { gql, OperationResult, useMutation{%if hasRelations%}, useQuery{%endif%} } from 'urql'{%if hasRelations%}
import { useMemo } from 'react'{%endif%}
import { Mutation{%if hasRelations%}, Query{%endif%}{%for field in fields%}{%if field.isFieldRelational%}, {{ field.fieldTypePascalCase }}{%endif%}{%endfor%} } from '@generated/graphql'
import { useFormik } from 'formik'
import { Form } from '@components/Form'
import { Form } from '@components/ui/Form'
import { showInfo } from '@lib/notifications'

export interface RegisterProps { {%for field in fields%}{%if field.isFieldRelational%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Actions } from '@components/Actions'
import { Actions } from '@components/ui/Actions'
import { render, screen } from '@testing-library/react'

describe('Actions', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Details } from '@components/Details'
import { Details } from '@components/ui/Details'
import { render, screen } from '@testing-library/react'

describe('Details', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Error } from '@components/Error'
import { Error } from '@components/ui/Error'
import { render, screen } from '@testing-library/react'
import { CombinedError } from 'urql'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Form } from '@components/Form'
import { Form } from '@components/ui/Form'
import { render, screen } from '@testing-library/react'

describe('Form', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { render, screen } from '@testing-library/react'

describe('Header', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { List } from '@components/List'
import { List } from '@components/ui/List'
import { render, screen } from '@testing-library/react'

describe('List', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Loader } from '@components/Loader'
import { Loader } from '@components/ui/Loader'
import { render } from '@testing-library/react'

describe('Loader', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { gql, useQuery } from 'urql'
import { useMemo } from 'react'
import { Query } from '@generated/graphql'
import { Error } from '@components/Error'
import { Loader } from '@components/Loader'
import { Details } from '@components/Details'
import { Error } from '@components/ui/Error'
import { Loader } from '@components/ui/Loader'
import { Details } from '@components/ui/Details'

export interface {{ namePascalCase }}DetailsProps {
id: string | number
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { showError, showInfo } from '@lib/notifications'
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { gql, OperationResult, useMutation, useQuery } from 'urql'
import { useMemo } from 'react'
import { Mutation, Query{%for field in fields%}{%if field.isFieldRelational%}, {{ field.fieldTypePascalCase }}{%endif%}{%endfor%} } from '@generated/graphql'
import { useFormik } from 'formik'
import { Error } from '@components/Error'
import { Loader } from '@components/Loader'
import { Form } from '@components/Form'
import { Error } from '@components/ui/Error'
import { Loader } from '@components/ui/Loader'
import { Form } from '@components/ui/Form'

export interface {{ namePascalCase }}FormProps {
id?: string | number{%for field in fields%}{%if field.isFieldRelational%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { askConfirmation, showError, showInfo } from '@lib/notifications'
import { Header } from '@components/Header'
import { Header } from '@components/ui/Header'
import { gql, useMutation, useQuery } from 'urql'
import { useMemo } from 'react'
import { Mutation, Query } from '@generated/graphql'
import { Error } from '@components/Error'
import { Loader } from '@components/Loader'
import { List } from '@components/List'
import { Error } from '@components/ui/Error'
import { Loader } from '@components/ui/Loader'
import { List } from '@components/ui/List'
{%if hasRelations%}
export interface {{ namePascalCase }}ListProps {{ "{" }}{%for field in fields%}{%if field.isFieldRelational%}
{{ field.fieldNameCamelCase }}?: string | number{%endif%}{%endfor%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { {{namePascalCase}}List } from '@components/app/{{nameKebabCase}}/{{namePascalCase}}List'
import { DefaultLayout } from '@components/layout/DefaultLayout'
import { Actions } from '@components/Actions'
import { Actions } from '@components/ui/Actions'

export default function {{namePluralPascalCase}}() {
return (
Expand Down

0 comments on commit 6dec683

Please sign in to comment.