Skip to content

Commit

Permalink
docs: initial README
Browse files Browse the repository at this point in the history
  • Loading branch information
kareemmahlees committed Dec 30, 2023
1 parent cb5eaab commit 7c109c2
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 23 deletions.
84 changes: 61 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,74 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
<p align="center">
<img src="./docs/billboard.png">
</p>
<div align="center">
<img alt="GitHub Workflow Status (with event)" src="https://img.shields.io/github/actions/workflow/status/kareemmahlees/tablex/lint.yml">
<img alt="GitHub package.json version (subfolder of monorepo)" src="https://img.shields.io/github/package-json/v/kareemmahlees/tablex?color=blue">
<img alt="Static Badge" src="https://img.shields.io/badge/node-v20.9.0%20-green">
<img alt="Static Badge" src="https://img.shields.io/badge/cargo-v1.74.1-orange">

## Getting Started
</div>

First, run the development server:
> Note: TableX is still under development, don't expect it to be perfect, yet.
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
## About the Project

Tablex aims at delivering a fast, user friendly, productive and **free** database browsing experience.

While not claiming that it is a replacement of any other tool, yet, it strives to provide a, hopefully, good user experience.

## What Does it offer ✨

- Delightful user experience
- Top-Notch performance
- Ultra small bundle size (~ 12MB)
- Free and Open-Source

## Tech Stack ⌨️

- [Tauri](https://tauri.app/) :
- [NextJs](https://nextjs.org/) : Frontend Framework
- [Rust](https://www.rust-lang.org/) : Backend
- [Tailwind](https://tailwindcss.com/) : CSS Framework
- [Tanstack]() : [Query](), [Table]()
- [shadcn/ui](https://ui.shadcn.com/) : Components
- [Vercel](https://vercel.com/) : Deployment

## Local Development πŸ§‘πŸ»β€πŸ’»

To start playing around with TableX locally, you will need the following requirements:

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
- Node v20.9.0 or later ( you can use the .nvmrc )
- Cargo 1.74.1 or later

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
> some previous versions of the previously mentioned requirements may still work fine, but no guarantee.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
Once you have setup the previous requirements, you can start by cloning the repo:

## Learn More
```bash
git clone https://github.com/kareemmahlees/tablex.git --depth=1
```

then, install necessary dependencies:

```bash
yarn install
# And
cargo install
```

To learn more about Next.js, take a look at the following resources:
install husky git hooks:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
```bash
yarn husky install
```

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
and you are good to go πŸ’«, you can start your development server by running:

## Deploy on Vercel
```bash
yarn tauri dev
```

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
## Contributing πŸ«±πŸ»β€πŸ«²πŸ»

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
please refer to [CONTRIBUTING.md](./docs/CONTRIBUTING.md)
23 changes: 23 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Thank You πŸ˜„

Thank you for taking the time to contribute and help TableX to grow and evolve!.

All contributions are very welcomed, starting from fixing typos or reporting issues to bug fixes and pushing cool features.

Whatever the level of your expertise, you will definitely find some issue that suites you best. ( Check out the [issues](https://github.com/kareemmahlees/tablex/issues) section ).

## Some Guidelines to follow

Make sure you have fulfilled the requirements and local development steps mentioned [here](../README.md#local-development-πŸ§‘πŸ»β€πŸ’»).

## Commits

TableX follows commit conventions inforced by [commitlint](https://github.com/conventional-changelog/commitlint).

Commit checking is highly integrated in all parts of development process either as a pre-commit hook or checking by the lint action on push or pull-request.

This is a very crucial part and we care about it soo much to keep the commit log consistent and clean, so please take the time to read the conventions of commitlint.

## Multiply tiny is better than a Big one

Separating your changes into multiple small commits is better to review and debug than a big fat commit
Binary file added docs/billboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c109c2

Please sign in to comment.