Skip to content

👨🏻‍💻 System Back-end Server with Express, Node, Prisma and Postgress

Notifications You must be signed in to change notification settings

jrsousadev/Seven-INC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

đź“‹ Seven INC

API Desenvolvida com o intuito de gerenciar funcionários! (Challenge Seven)

O que foi utilizado no projeto:

  • Typescript
  • Express
  • Postgress
  • Prisma
  • Nodejs

Regras de negĂłcio:

  • Cadastrar funcionário
  • Editar funcionário
  • Deletar funcionário
  • Listar funcionário
  • Listar todos os funcionários

Endpoints:

  • [POST] "/employee"
  • [PUT] "/employee/:id"
  • [DELETE] "/employee/:id"
  • [GET] "/employee/:id"
  • [GET] "/employee"

Project architecture

.
├── src/
│   └── database
|   └── environments
|   └── modules
|       └── Employeee
|           └── Controllers
|           └── Services
|   └── repositories
|   └── shared
|       └── containers
|       └── errors
|       └── routes
|   └── utils
└── ...

Exemplo API (Criar funcionário)

image

Iniciando o Projeto

** Clone o repositĂłrio e instale as dependĂŞncias.

# install dependencies
> yarn
# or
> yarn install

# copy .env file
> cp .env.example .env

# Generating the migration
> yarn prisma migrate dev

# start project
> yarn dev

# open in
http://localhost:9000/

About

👨🏻‍💻 System Back-end Server with Express, Node, Prisma and Postgress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published