Skip to content

Commit 1ea5437

Browse files
chore: merge pr #16
Start point
2 parents 408dde5 + 212e6c0 commit 1ea5437

19 files changed

Lines changed: 1925 additions & 101 deletions

.eslintrc

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,3 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es6": true,
5-
"node": true,
6-
"jest": true
7-
},
8-
"extends": [
9-
"airbnb",
10-
"airbnb/hooks",
11-
"plugin:@typescript-eslint/recommended",
12-
"plugin:prettier/recommended"
13-
],
14-
"parser": "@typescript-eslint/parser",
15-
"parserOptions": {
16-
"ecmaFeatures": {
17-
"jsx": true
18-
},
19-
"ecmaVersion": 12,
20-
"sourceType": "module"
21-
},
22-
"plugins": [
23-
"react",
24-
"@typescript-eslint",
25-
"prettier",
26-
"react-hooks",
27-
"import-helpers",
28-
"eslint-plugin-import-helpers"
29-
],
30-
"rules": {
31-
"@typescript-eslint/explicit-function-return-type": "off",
32-
"@typescript-eslint/explicit-module-boundary-types": "off",
33-
"@typescript-eslint/interface-name-prefix": "off",
34-
"@typescript-eslint/no-explicit-any": "off",
35-
"camelcase": "off",
36-
"class-methods-use-this": "off",
37-
"import-helpers/order-imports": [
38-
"warn",
39-
{
40-
"alphabetize": {
41-
"ignoreCase": true,
42-
"order": "asc"
43-
},
44-
"groups": [
45-
"/^react/",
46-
"module",
47-
"/^[A-Z].*/",
48-
["parent", "sibling", "index"]
49-
],
50-
"newlinesBetween": "always"
51-
}
52-
],
53-
"import/no-extraneous-dependencies": [
54-
"error",
55-
{
56-
"devDependencies": true
57-
}
58-
],
59-
"import/extensions": "off",
60-
"import/no-unresolved": "off",
61-
"import/prefer-default-export": "off",
62-
"no-useless-constructor": "off",
63-
"react/jsx-filename-extension": [1, { "extensions": [".tsx"] }],
64-
"react/jsx-props-no-spreading": "off",
65-
"react/react-in-jsx-scope": "off"
66-
}
2+
"extends": ["cod3rocket"]
673
}

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1+
# IDEs and editors
2+
/.idea
3+
.project
4+
.classpath
5+
.c9/
6+
*.launch
7+
.settings/
8+
*.sublime-workspace
9+
10+
# IDE - VSCode
11+
.vscode/*
12+
!.vscode/settings.json
13+
!.vscode/tasks.json
14+
!.vscode/launch.json
15+
!.vscode/extensions.json
16+
17+
# Package managers
118
node_modules
19+
*.iml
20+
pubspec.lock
221

322
# Dev
423
.env

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["blaugold.melos-code"]
3+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dart.runPubGetOnPubspecChanges": false
3+
}

README.md

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,56 @@
11
# iTourism
22

3-
In progress...
3+
<p align="center">
4+
<img src="./assets/branding/cod3rocket_logo.png" />
5+
</p>
6+
7+
<h1 align="center">iTourism</h1>
8+
9+
<p align="center">
10+
The guide will contain information about the main tourist attractions, hotels, restaurants, shops and other commercial establishments in the city.
11+
</p>
12+
13+
<h3 style="display: flex; gap: 4px; justify-content: center">
14+
<!-- Version -->
15+
<a href="#">
16+
<img alt="Realeases url" src="https://img.shields.io/github/v/release/cod3rocket/iTourism?style=for-the-badge&labelColor=1C1E26&color=1764a3">
17+
</a>
18+
19+
<!-- License -->
20+
<a href="./LICENSE" target="_blank">
21+
<img alt="License: MIT" src="https://img.shields.io/badge/license%20-MIT-1C1E26?style=for-the-badge&labelColor=1C1E26&color=1764a3">
22+
</a>
23+
24+
<!-- Stars count -->
25+
<a href="https://github.com/cod3rocket/iTourism/stargazers" target="_blank">
26+
<img alt="" src="https://img.shields.io/github/stars/cod3rocket/iTourism?style=for-the-badge&labelColor=1C1E26&color=1764a3">
27+
</a>
28+
</h3>
29+
30+
# Features
31+
32+
- 🚀 Cross-platform (Android, iOS)
33+
- 🌎 Languages and custom languages
34+
35+
# Contributing
36+
37+
## Flutter
38+
39+
Melos and flutter_plugin_tools are required.
40+
41+
Install melos:
42+
43+
```bash
44+
$ dart pub global activate melos
45+
```
46+
47+
Install flutter_plugin_tools:
48+
49+
```bash
50+
$ flutter pub global activate flutter_plugin_tools
51+
```
452

553
## Authors
654

755
|[<img src="https://github.com/henriq4.png?size=150" width=150><br><sub>@henriq4</sub>](https://github.com/henriq4) | [<img src="https://github.com/eduardoteles17.png?size=150" width=150><br><sub>@eduardoteles17</sub>](https://github.com/eduardoteles17) |
856
|-|-|
9-
10-
# License
11-
12-
[MIT](LICENSE)

apps/api/.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# compiled output
2+
/dist
3+
/node_modules
4+
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
pnpm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
lerna-debug.log*
13+
14+
# OS
15+
.DS_Store
16+
17+
# Tests
18+
/coverage
19+
/.nyc_output
20+
21+
# IDEs and editors
22+
/.idea
23+
.project
24+
.classpath
25+
.c9/
26+
*.launch
27+
.settings/
28+
*.sublime-workspace
29+
30+
# IDE - VSCode
31+
.vscode/*
32+
!.vscode/settings.json
33+
!.vscode/tasks.json
34+
!.vscode/launch.json
35+
!.vscode/extensions.json

apps/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# iTourism - api

apps/api/nest-cli.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://json.schemastore.org/nest-cli",
3+
"collection": "@nestjs/schematics",
4+
"sourceRoot": "src"
5+
}

apps/api/package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "@itourism/api",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"prebuild": "rimraf dist",
7+
"build": "nest build",
8+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
9+
"start": "nest start",
10+
"start:dev": "nest start --watch",
11+
"start:debug": "nest start --debug --watch",
12+
"start:prod": "node dist/main",
13+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
14+
},
15+
"dependencies": {
16+
"@nestjs/common": "^9.0.0",
17+
"@nestjs/core": "^9.0.0",
18+
"@nestjs/platform-express": "^9.0.0",
19+
"reflect-metadata": "^0.1.13",
20+
"rimraf": "^3.0.2",
21+
"rxjs": "^7.2.0"
22+
},
23+
"devDependencies": {
24+
"@nestjs/cli": "^9.0.0",
25+
"@nestjs/schematics": "^9.0.0",
26+
"@nestjs/testing": "^9.0.0",
27+
"@types/express": "^4.17.13",
28+
"@types/node": "^16.0.0",
29+
"source-map-support": "^0.5.20",
30+
"ts-loader": "^9.2.3",
31+
"ts-node": "^10.0.0",
32+
"tsconfig-paths": "4.0.0",
33+
"typescript": "^4.3.5"
34+
}
35+
}

apps/api/src/main.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { NestFactory } from "@nestjs/core";
2+
3+
import { AppModule } from "./modules/app/app.module";
4+
5+
async function bootstrap() {
6+
const app = await NestFactory.create(AppModule);
7+
await app.listen(3000);
8+
}
9+
bootstrap();

0 commit comments

Comments
 (0)