hayatoinkz / chargeline

A gas station management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo Logo

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.

DB Acesse o diagrama

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.

Figma Acesse o Figma

Documentação

Backend Frontend

Instalação

Instale o ChargeLine com bun

curl -fsSL https://bun.sh/install | bash

git clone git@github.com:hayatojpg/chargeline.git

Rodando localmente

Rodar Back-end

cd chargeline/backend

cp env-example .env
docker compose up -d

Rodando localmente em http://localhost:3001/api/v1 Swagger em http://localhost:3001/docs

Rodar Front-end

cd.. && cd frontend

cp .env.example .env

bun install

bun dev

Rodando localmente em http://localhost:3000

Telas

Login Register Empty History AddCar DeleteCar

Referência

About

A gas station management


Languages

Language:TypeScript 95.4%Language:Shell 1.7%Language:JavaScript 1.1%Language:Handlebars 0.6%Language:EJS 0.5%Language:CSS 0.4%Language:Dockerfile 0.2%Language:Procfile 0.0%