Skip to content

Commit

Permalink
Merge pull request #3 from RnizereB/module2-task1
Browse files Browse the repository at this point in the history
Приложение для терминала. Часть 2
  • Loading branch information
Paklosha authored Oct 16, 2024
2 parents 05d0419 + 061a2a1 commit 6f5bff6
Show file tree
Hide file tree
Showing 21 changed files with 1,632 additions and 30 deletions.
8 changes: 8 additions & 0 deletions Workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ npm start

В процессе запуска проекта будет выполнен процесс «Сборки проекта» и запуска результирующего кода.

### Временный сервер

```bash
npm run mock:server
```

В процессе запуска будет создаст моковый сервер.

## Структура проекта

### Директория `src`
Expand Down
79 changes: 79 additions & 0 deletions mocks/mock-server-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"api": {
"title": [
"Penthouse, 4-5 rooms + 5 balconies",
"House in countryside",
"Nice, cozy, warm big bed apartment",
"Wood and stone place",
"The house among olive "
],
"description": [
"A new spacious villa, one floor. All commodities, jacuzzi and beautiful scenery. Ideal for families or friends.",
"I rent out a very sunny and bright apartment only 7 minutes walking distance to the metro station. The apartment has a spacious living room with a kitchen, one bedroom and a bathroom with mit bath. A terrace can be used in summer.",
"Peaceful studio in the most wanted area in town. Quiet house Near of everything. Completely renovated. Lovely neighbourhood, lot of trendy shops, restaurants and bars in a walking distance.",
"Design interior in most sympathetic area! Complitely renovated, well-equipped, cosy studio in idyllic, over 100 years old wooden house. Calm street, fast connection to center and airport."
],
"city": [
"Paris",
"Moscow",
"Kazan",
"St. Petersburg",
"Sochi"
],
"previewImage": [
"previewImage1.jpg",
"previewImage11.jpg",
"previewImage13.jpg",
"previewImage151.jpg",
"previewImage31.jpg"
],
"images": [
"images-photo-1.jpg",
"images-photo-2.jpg",
"images-photo-3.jpg",
"images-photo-4.jpg",
"images-photo-5.jpg"
],
"type": [
"room",
"apartment",
"hotel"
],
"goods": [
"Kitchen",
"Fridge",
"Coffee machine",
"Cable TV",
"Heating",
"Air conditioning"
],
"name": [
"Dima",
"Anna",
"Jon",
"Tom"
],
"email": [
"[email protected]",
"[email protected]",
"[email protected]"
],
"avatarUser": [
"images-avatarUser-1.jpg",
"images-avatarUser-2.jpg",
"images-avatarUser-3.jpg",
"images-avatarUser-4.jpg",
"images-avatarUser-5.jpg"
],
"password": [
"123dad",
"secret0000",
"12345i9",
"000pin"
],
"typeUser": [
"Pro",
"Usual"
]
}
}
Loading

0 comments on commit 6f5bff6

Please sign in to comment.