Skip to content

Sezer67/cafe-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NestJS - PSQL - ReactJS Cafe Application

Promotional Video

play

How To Execute the App locally

Backend


  • Download postgresql on computer.
  • Change the features of database from backend/.env file.
  • .env dosyasında 'DB_NAME' değerine verdiğiniz isim adında pgAdminden manuel olarak veritabanı oluşturunuz.
  • If nestjs not exist in computer, run npm i -g @nestjs/cli
  • To execute project locally (localhost:8080) run npm start

Frontend


  • To execute project locally (localhost:3000) run npm start

Database Tables


masa

id kisiSayisi masaAdi dolu siparisId adisyonId
integer integer varchar integer uuid (FK) uuid (FK)
category

id name
uuid varchar
product

id name price description imgUrl updatedAt categoryId
uuid varchar integer varchar varchar timestamp uuid (FK)
siparis

id urunler
uuid text
adisyon

id ucret aktif tarih masaAdi urunler
uuid integer integer date varchar text

User Types

Admin Şef Personel

Distribution of Authority


Kullanıcı Bölümü Masa Ürün Sipariş Adisyon
Admin C-R-U-D C-R-U-D - R
Personel R-U R C-R-U-D C-R
Mutfak R R R-U U

/home

Home Page

About

Cafe Simulation with NestJS - PostgreSql - TypeORM - ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published