Move from github to gitlab
Zufar Abduykov authored
Added API
Added Swagger to API
Added web-site
Added websocket for connect waiter and cooker
Added security
Using HTTPS
Using bycrypt and jwt token
Using docker
Added sql script Postgre SQL
Added logger
Added certificate for HTTPS
Added eslint
Continue more inforamtion:

Created db file for connect to db

Prepare files for front-end

Create router
Added router to app
disable ts-check all project

Prepare controller for API Request

Example html for front-end

Added work with Error
Added POST: test

Fix problem:
Added module exports test

Added work with docker
Added rest api test
Added test.sql
Change settings for work https self signed certitficate

Fix problem:
With dockerfile
Added example tables for test database

Added docker compose

self signed certificate
Added cors for connect for
self signed certificate

Fix problem with cors and show web-site

Added logger

Added valid certificate

Added work with DB:
Added connect DB
Added get data from db for test
Move ApiHandling to API
rename Middleware and added propability return same data
Added propability save data to db log

Move Docker file to folder by name

create folder test and mv test files
get initdb files

Fix problem with connect server-db

Added security:
xss
DOS attack
Rate limiting
limit size body

Added pipeline github

Work with API:
Added sql script for generate db
Change dockerfile for docker compose
Added empty api:
order
add_food
add_food_composition
add_food_type
add_ingredient
add_job_role
add_table
registration_worker
book_table

Swagger

Added swagger configuration
Added swagger to server
Added new API/POST
Added description API - Swagger: order and registration worker

Added API
Deleted api test
Added functuonals API - POST:
add client order
registration client
add indigrient
add storhouse
cancel booking
change order status
change order ingredient
order
record givig time
registration worker

Move post request to folder POST

Rename folder Api (handler) -> handleAPI

Change logger(added file loggerInfo) and swagger (path for yaml)

Change path imports to middleware and delete not need post

Added description API for order, add food, add worker, and total file for response

Delete order file, added error handler (helper), ready API with work db

Reade API add client and description in swagger

Ready API: add food type and add ingridient and added description API in Swagger docs

Added new API:
add table
add job role
add food composition
And added description to swagger
Change errorhandler => string code to array codes
Other Api fix change error

Added functiional API:
add storehouse
Added description API up

Added API booking table
and added description to swagger

Fix problem with book table

Added new API:
GET:
get current orders and add description to swagger
Other API: Refactor path imports
errorHandler move to Api folder

Added API-GET:
Added current orders
Added all booked tables
Added reorder ingredients list
And added description to swagger

Added new API-GET:
Added get food composition by food_id
Group api in docs by tag
food composition -> Food
food type -> Food
ingredient -> Food
book table -> Table
cancel book -> Table

Added API-GET:
Added get free tables
and added description to swagger

Added API-GET:
Added get menu sorted by type
& added description to swagger

Fix problem with schemas (Swagger)

Added API-GET:
get order history & description to swagger

Recomment

Update sql script generate db

Added test environment

Update github-actions-demo.yml

API:
Change sql script
added:
get all tables by date
get all booked tables by date

Api:
Added
get ingredients info
get worker list
get all booked tables
change some description api

Api:
Change field num_of_food -> dishes:object

Api:
Change add worker: deleted test password field

Api:
Added filed desired_booking_date to cancel book procedure

Api:
Added change status of order
Added example for cancel booking table

Api:
Added:
- delete ingredient

API:
Added:
- delete order by id

Expanded styles

Tested API

Added images of the main page

Added footer

Added links to the fonts

Added header

Added main page

API:
Change:
- move delete methods to folder DELETE
- rename post -> delete form methods delete
- change description

API:
Added:
- delete worker by id
- create folder DELETE for description api to swagger

Api:
Added:
- order ingredient

Api:
Change:
- add ingreidient (added available update ingredient by id)

API:
Added:
- update giving time by order id
- update order by order id

Api:
Added:
- update salary and rate of worker

Api:
Added:
- get name of storehouses

initial docker

Backend:
Added snyk:
- search problem with security and give list
Added helmet for sercurity from potential attack X-Powered-BY
- app
- router
Added CSRF protection:
- router
- app
Update rateLimit for every:
- api
- router
Front-end:
- Added test request to js

Fix problem and login
Added sing in worker
Added check login and password for registration and sing in (bad request)
Router deleted csrf - conflict with app.use
And added csrfProtection to page

Created scripts for menu and booking pages

Removed unnecessary scripts

Created about, booking and menu pages

Updated router for new pages

Up limit request to 300k

Added description login
Added Api get count place all tables
refactor api get all tables on date -> get time for booked table by date and id

Refactor Api get
fix function view_all_booked_tables in sql script

Refactor Api
Added api client booking table

Deleted not need API order ingredient
Fix some API
Added ts-nocheck to views and change get data

Added Api:
get_free_time_all_booked_tables_by_date

Added field interval - get all booked tables

Added sh script
Added docker compose for github actions

Added check exists client or no

Added menu pictures

Added pictures to the menu

Add api get_count_place_all_tables

Change API
DataApi: unlucky return 409
Add block book table if exists: return 409
view:
Added UTC_MOSCOW

Add check format date
Fix api get free time

Added certificate for work with localhost
Added WebSocket
Added check in socket:
- exists access
- count connect
Added send message after success or error after insert db
Fix Api add client order

Fix descrition API
Added CSRF swagger

Added test api remote server
Fix api have problem with data
ad5984c8
Name Last commit Last update