chore: updated readme

This commit is contained in:
Anoop M D 2022-10-16 13:51:10 +05:30
parent 7ca6270f2b
commit 0f5b75ddbf
5 changed files with 36 additions and 26 deletions

View File

@ -2,4 +2,4 @@ ENV=production
NEXT_PUBLIC_ENV=prod
NEXT_PUBLIC_GRAFNODE_SERVER_API=https://ada.grafnode.com/api
NEXT_PUBLIC_BRUNO_SERVER_API=https://ada.grafnode.com/api

View File

@ -8,10 +8,10 @@ const AuthApi = {
return new Promise((resolve, reject) => {
const { ipcRenderer } = window.require("electron");
ipcRenderer.invoke('grafnode-account-request', {
ipcRenderer.invoke('bruno-account-request', {
data: params,
method: 'POST',
url: `${process.env.NEXT_PUBLIC_GRAFNODE_SERVER_API}/auth/v1/user/login`,
url: `${process.env.NEXT_PUBLIC_BRUNO_SERVER_API}/auth/v1/user/login`,
})
.then(resolve)
.catch(reject);

View File

@ -1,8 +1,8 @@
import React from 'react';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { IconCode, IconFiles, IconUser, IconUsers, IconSettings, IconChevronsLeft} from '@tabler/icons';
import { useSelector, useDispatch } from 'react-redux';
import { IconCode, IconFiles, IconUser, IconUsers, IconSettings, IconChevronsLeft, IconLifebuoy} from '@tabler/icons';
import { useDispatch } from 'react-redux';
import { toggleLeftMenuBar } from 'providers/ReduxStore/slices/app'
import StyledWrapper from './StyledWrapper';
@ -32,13 +32,13 @@ const MenuBar = () => {
</div>
</div>
<div className="flex flex-col flex-grow justify-end">
{/* <Link href="/login">
<div className="menu-item">
<IconUser size={28} strokeWidth={1.5}/>
</div>
</Link> */}
<div className="menu-item">
<Link href="/login">
<IconUser size={28} strokeWidth={1.5}/>
</Link>
</div>
<div className="menu-item">
<IconSettings size={28} strokeWidth={1.5}/>
<IconLifebuoy size={28} strokeWidth={1.5}/>
</div>
<div className="menu-item" onClick={() => dispatch(toggleLeftMenuBar())}>
<IconChevronsLeft size={28} strokeWidth={1.5}/>

View File

@ -39,16 +39,14 @@ function MyApp({ Component, pageProps }) {
return (
<SafeHydrate>
<NoSsr>
<AuthProvider>
<Provider store={ReduxStore}>
<AppProvider>
<HotkeysProvider>
<Toaster toastOptions={{duration: 2000}}/>
<Component {...pageProps} />
</HotkeysProvider>
</AppProvider>
</Provider>
</AuthProvider>
<Provider store={ReduxStore}>
<AppProvider>
<HotkeysProvider>
<Toaster toastOptions={{duration: 2000}}/>
<Component {...pageProps} />
</HotkeysProvider>
</AppProvider>
</Provider>
</NoSsr>
</SafeHydrate>
);

View File

@ -1,18 +1,30 @@
# bruno
Opensource API Client.
### Comparision with Similar tools
Bruno is at early stages of development, and does not yet have all the bells and whistles.
### Live Demo 🏂
Woof! Lets play with some api's [here](https://play.usebruno.com).
Your api must allow CORS for it to work in the browser, else checkout the chrome extension ot the desktop app
Here is a rundown of key areas where bruno is different from other similar tools out there.
### Comparision with Similar tools ⚖️
Bruno is at early stages of development, and does not yet have all the bells and whistles.
Here is a rundown of key areas where bruno is different from similar tools out there.
| Feature | Bruno | Postman | Insomnia | Hoppscotch |
| ---------| ------| --------| ---------| ---------- |
| Open source (Client) | ✔️ | ✖️ | ✔️ | ✔️ |
| Open source (Sync Server) | ✔️ | ✖️ | ✖️ | ✖️ |
| Open source Client | ✔️ | ✖️ | ✔️ | ✔️ |
| Open source Sync Server | ✔️ | ✖️ | ✖️ | ✖️ |
| Local (Filesystem) Collections | ✔️ | ✖️ | ✖️ | ✖️ |
| Chrome Extension | ✔️ | ✖️ | ✖️ | ✖️ |
| Run using Docker | ✔️ | ✖️ | ✖️ | ✔️ |
| Desktop App | ✔️ | ✔️ | ✔️ | ✖️ |
| Run in Browser | ✔️ | ✔️ | ✖️ | ✔️ |
| Multi Tab Requests | ✔️ | ✔️ | ✖️ | ✖️ |
### Support ❤️
Woof! If you like project, hit that ⭐ button !!
### Stay in touch 🌐
[Twitter](https://twitter.com/use_bruno)
### License 📄
[MIT](license)