- Node.js
- Express.js
- Prisma ORM
- PostgreSQL
- JWT
- Docker
- TypeScript
Coming soon
- Launching the application container and database
make up
- Add admins
make seed
Users:
Password | Role | |
---|---|---|
[email protected] | admin | ADMIN |
[email protected] | admin | ADMIN |
Dishes:
Name | Description | Short Description | Recipe | Ingredients | Image URL |
---|---|---|---|---|---|
Burger | Burger | Burger | Recipe for Burger | Ingredients for Burger | Image |
Sandwich | Sandwich | Sandwich | Recipe for Sandwich | Ingredients for Sandwich | Image |
French fries | French fries | French fries | Recipe for French fries | Ingredients for French fries | Image |
Steak | Steak | Steak | Recipe for Steak | Ingredients for Steak | Image |
Reservations:
Name | Phone | Date | Time | Guests | |
---|---|---|---|---|---|
Test user 1 | [email protected] | 88005553535 | 2024-07-13 | 19:00 | 2 |
Test user 2 | [email protected] | 88005553535 | 2024-08-13 | 18:30 | 4 |
Test user 3 | [email protected] | 88005553535 | 2024-09-13 | 20:00 | 3 |
Test user 4 | [email protected] | 88005553535 | 2024-10-13 | 19:30 | 5 |
Зеркала для доступа к Docker Hub
с
Settings -> Docker Engine -> Add "registry-mirrors" -> Apply & restart
{
"registry-mirrors": [ "https://mirror.gcr.io/", "https://dockerhub.timeweb.cloud/"]
}
Необходимо найти pid
запущенного процесса:
sudo ss -lptn 'sport = :5432'
И дропнуть процесс с данным pid
:
kill <pid>
URL:
localhost:4000/api/docs