This API service is facilitate to maintain the cafe's and Employees records.
- Create New cafe
- Register new employee and asign to the cafe
- List cafe`s
- List Employees
- Edit Cafe
- Edit Employee
- Filter Cafe by location
- List Employees by Cafe
Follow bellow steps on CLI before getting start
- Run
git clone [email protected]:YasiruDev/cafe-service.git
for clone project - Run
cd cafe-service
- Run
npm install
for install packages
Follow bellow script on CLI to run this Application
- Run
npm start
ornpm run dev
- NodeJs - V12
- MySQL -V8.0.29
APP_PORT=3002 LOG_MODE=true
#db DB_HOST=xxxxx DB_USER=xxx DB_PASSWORD=xxx DB_DATABASE=xxx
Find the DB schema under below folder path
cafe-service -> src -> migrations