Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jetbridge/jetkit-react

Open source JetKit components for React+TypeScript
https://github.com/jetbridge/jetkit-react

Last synced: about 1 month ago
JSON representation

Open source JetKit components for React+TypeScript

Awesome Lists containing this project

README

        

[![Build and test](https://github.com/jetbridge/jetkit-react/actions/workflows/reactApp.yml/badge.svg)](https://github.com/jetbridge/jetkit-react/actions/workflows/reactApp.yml)

# JetKit 🚀

JetKit is a set of components and libraries for building web and mobile applications that work together to accelerate
development and share common components without a lot of copy-pasting of code.

This package is for React and TypeScript projects.

# Configuration

## API Client

To configure your project to use an API client that is compatible with a JetKit backend server, create a `.env` file with the contents:

```
REACT_APP_BASE_URL=http://localhost:5000/api
```

Alternatively, if you're using NEXT JS, you could use its native [public env variable](https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser), naming the variable as follows:
```
NEXT_PUBLIC_BASE_URL=http://localhost:5000/api
```

## Hacking

It is suggested to use the project and storybook from the [component-library](component-library) directory to mock and develop components against.

```
cd component-library
npm run storybook
```