Skip to content

Commit 176319b

Browse files
Initial commit
0 parents  commit 176319b

29 files changed

+6688
-0
lines changed

.eslintignore

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

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["!**/*"],
4+
"plugins": ["@nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx"],
8+
"extends": ["plugin:@nx/typescript"],
9+
"rules": {}
10+
},
11+
{
12+
"files": ["*.js", "*.jsx"],
13+
"extends": ["plugin:@nx/javascript"],
14+
"rules": {}
15+
},
16+
{
17+
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
18+
"env": {
19+
"jest": true
20+
},
21+
"rules": {}
22+
}
23+
]
24+
}

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
dist
5+
tmp
6+
/out-tsc
7+
8+
# dependencies
9+
node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
30+
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
yarn-error.log
34+
testem.log
35+
/typings
36+
37+
# System Files
38+
.DS_Store
39+
Thumbs.db
40+
41+
.nx/cache

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
strict-peer-dependencies=false
2+
auto-install-peers=true

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Add files here to ignore them from prettier formatting
2+
/dist
3+
/coverage
4+
/.nx/cache

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"nrwl.angular-console",
4+
"esbenp.prettier-vscode",
5+
"firsttris.vscode-jest-runner"
6+
]
7+
}

Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This file is generated by Nx.
2+
#
3+
# Build the docker image with `npx nx docker-build vapiai`.
4+
# Tip: Modify "docker-build" options in project.json to change docker build args.
5+
#
6+
# Run the container with `docker run -p 3000:3000 -t vapiai`.
7+
FROM docker.io/node:lts-alpine
8+
9+
ENV HOST=0.0.0.0
10+
ENV PORT=3000
11+
12+
WORKDIR /app
13+
14+
RUN addgroup --system vapiai && \
15+
adduser --system -G vapiai vapiai
16+
17+
COPY dist/vapiai vapiai
18+
RUN chown -R vapiai:vapiai .
19+
20+
# You can remove this install step if you build with `--bundle` option.
21+
# The bundled output will include external dependencies.
22+
RUN npm --prefix vapiai --omit=dev -f install
23+
24+
CMD [ "node", "vapiai" ]

README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Vapiai
2+
3+
<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://github.com/raw/nrwl/nx/master/images/nx-logo.png" width="45"></a>
4+
5+
**This workspace has been generated by [Nx, Smart Monorepos · Fast CI.](https://nx.dev)**
6+
7+
8+
## Start the app
9+
10+
To start the development server run `nx serve vapiai`. Open your browser and navigate to http://localhost:4200/. Happy coding!
11+
12+
13+
## Generate code
14+
15+
If you happen to use Nx plugins, you can leverage code generators that might come with it.
16+
17+
Run `nx list` to get a list of available plugins and whether they have generators. Then run `nx list <plugin-name>` to see what generators are available.
18+
19+
Learn more about [Nx generators on the docs](https://nx.dev/features/generate-code).
20+
21+
## Running tasks
22+
23+
To execute tasks with Nx use the following syntax:
24+
25+
```
26+
nx <target> <project> <...options>
27+
```
28+
29+
You can also run multiple targets:
30+
31+
```
32+
nx run-many -t <target1> <target2>
33+
```
34+
35+
..or add `-p` to filter specific projects
36+
37+
```
38+
nx run-many -t <target1> <target2> -p <proj1> <proj2>
39+
```
40+
41+
Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks).
42+
43+
## Want better Editor Integration?
44+
45+
Have a look at the [Nx Console extensions](https://nx.dev/nx-console). It provides autocomplete support, a UI for exploring and running tasks & generators, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.
46+
47+
## Ready to deploy?
48+
49+
Just run `nx build demoapp` to build the application. The build artifacts will be stored in the `dist/` directory, ready to be deployed.
50+
51+
## Set up CI!
52+
53+
Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
54+
55+
- [Set up remote caching](https://nx.dev/features/share-your-cache)
56+
- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
57+
- [Learn more how to setup CI](https://nx.dev/recipes/ci)
58+
59+
## Explore the Project Graph
60+
Run `nx graph` to show the graph of the workspace.
61+
It will show tasks that you can run with Nx.
62+
63+
- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph)
64+
65+
## Connect with us!
66+
67+
- [Join the community](https://nx.dev/community)
68+
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
69+
- [Follow us on Twitter](https://twitter.com/nxdevtools)

e2e/.eslintrc.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"ignorePatterns": ["!**/*"],
3+
"overrides": [
4+
{
5+
"files": ["*.ts", "*.tsx"],
6+
"extends": ["plugin:@nx/typescript"],
7+
"rules": {}
8+
},
9+
{
10+
"files": ["*.js", "*.jsx"],
11+
"extends": ["plugin:@nx/javascript"],
12+
"rules": {}
13+
}
14+
],
15+
"plugins": ["@nx"]
16+
}

0 commit comments

Comments
 (0)