Skip to content

Commit 5aefb58

Browse files
committed
init
0 parents commit 5aefb58

File tree

14 files changed

+4076
-0
lines changed

14 files changed

+4076
-0
lines changed

.eslintrc.cjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
env: { browser: true, es2020: true },
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:react-hooks/recommended',
7+
],
8+
parser: '@typescript-eslint/parser',
9+
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
10+
plugins: ['react-refresh'],
11+
rules: {
12+
'react-refresh/only-export-components': 'warn',
13+
},
14+
}

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
![React](https://user-images.githubusercontent.com/2342458/234303761-7e0066a0-f043-4302-8784-756614761917.png)
2+
# Kinsta - Hello World - Vite + React
3+
4+
An example of how to deploy a Vite + React App on Kinsta App Hosting services.
5+
6+
---
7+
Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. Focus on coding and building, and we’ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support.
8+
9+
- [Start your free trial](https://kinsta.com/signup/?product_type=app-db)
10+
- [Application Hosting](https://kinsta.com/application-hosting)
11+
- [Database Hosting](https://kinsta.com/database-hosting)
12+
13+
## Dependency Management
14+
15+
Kinsta automatically installs dependencies defined in your `package.json` file during the deployment process.
16+
17+
## Web Server Setup
18+
19+
### Port
20+
21+
Kinsta automatically sets the `PORT` environment variable. You should **not** define it yourself and you should **not** hard-code it into the application.
22+
23+
### Start Command
24+
25+
When deploying an application, Kinsta automatically creates a web process based on the `npm start` in the `package.json` as the entry point.
26+
27+
## Deployment Lifecycle
28+
29+
Whenever a deployment is initiated (through creating an application or re-deploying due to an incoming commit) the `npm install` and `npm build` commands are run.
30+
31+
## What is React
32+
React is a popular JavaScript library for building user interfaces. It allows developers to create reusable UI components and efficiently update the UI in response to data changes.
33+
More information is available on the [React](https://react.dev/) website.

index.html

Lines changed: 14 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)