https://github.com/hayatokzn/chargeline
A gas station management
https://github.com/hayatokzn/chargeline
bun docker jest nestjs nextjs postgresql react shadcn-ui tailwindcss
Last synced: 3 months ago
JSON representation
A gas station management
- Host: GitHub
- URL: https://github.com/hayatokzn/chargeline
- Owner: hayatokzn
- Created: 2023-11-10T03:06:11.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-11-15T20:33:43.000Z (over 1 year ago)
- Last Synced: 2025-01-04T01:55:26.841Z (5 months ago)
- Topics: bun, docker, jest, nestjs, nextjs, postgresql, react, shadcn-ui, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 2.81 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# ChargeLine
Nosso projeto para gestão de combustíveis.
## Stack utilizada
**Front-end:** React, NextJS, TailwindCSS, RadixUI, Shadcn/UI, Zod, React Hook Form, SWR
**Back-end:** Node, NestJS, Jest, Docker
**Banco de Dados:** TypeORM, PostgreSQL
## Processo
Comecei modelando o banco de dados seguindo os requisitos funcionais como base e adicionando algumas tabelas que achei necessárias.

[Acesse o diagrama](./docs/db.dmbl)Em seguida, criei um Design no Figma para poder visualizar melhor o funcionamento do sistema, utilizei algumas bibliotecas e tokens como TailwindCSS e Shadcn/UI.

[Acesse o Figma](https://www.figma.com/file/aRxRfK4EWf6muUNq5Vu60c/%F0%9F%96%A5%EF%B8%8F-App-%E2%80%A2-Fluxstation?type=design&node-id=505%3A9368&mode=design&t=enqLdTvo1YpKXlKl-1)## Documentação
[Backend](./backend/README.md)
[Frontend](./frontend/README.md)## Instalação
Instale o ChargeLine com `bun`
```bash
curl -fsSL https://bun.sh/install | bashgit clone [email protected]:hayatojpg/chargeline.git
```# Rodando localmente
## Rodar Back-end
```bash
cd chargeline/backendcp env-example .env
docker compose up -d
```Rodando localmente em [http://localhost:3001/api/v1](http://localhost:3001/api/v1)
Swagger em [http://localhost:3001/docs](http://localhost:3001/docs)## Rodar Front-end
```bash
cd.. && cd frontendcp .env.example .env
bun install
bun dev
```Rodando localmente em [http://localhost:3000](http://localhost:3000)
## Telas





## Referência
- [Next.js](https://nextjs.org/docs)
- [TailwindCSS](https://tailwindcss.com/)
- [RadixUI](https://www.radix-ui.com/)
- [Shadcn/UI](https://ui.shadcn.com/)
- [NestJS](https://nestjs.com/)
- [TypeORM](https://www.npmjs.com/package/typeorm)