1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00
_/kita
2024-04-20 01:21:32 +09:00
..
src kita 2024-04-20 01:21:32 +09:00
test kita 2024-04-20 01:21:32 +09:00
biome.json kita 2024-04-20 01:21:32 +09:00
package.json kita 2024-04-20 01:21:32 +09:00
pnpm-lock.yaml kita 2024-04-20 01:21:32 +09:00
README.md kita 2024-04-20 01:21:32 +09:00
tsconfig.build.json kita 2024-04-20 01:21:32 +09:00
tsconfig.json kita 2024-04-20 01:21:32 +09:00

kita

Installing the project

Run the following command to install the project:

npm install

Running in development mode

Run the following command to start the server in development mode:

npm run dev

You can now open your browser and navigate to http://localhost:1227.

Building for production

Run the following command to build the project:

npm run build

Run the following command to start the server in production mode:

npm start

You can now open your browser and navigate to http://localhost:1227.

Running tests

You can run the tests using the following command:

npm test

Environment variables

Environment variables are loaded from a .env file in the root of the project. These are the available variables:

# Port and host for the server
PORT=1227
HOST=0.0.0.0

Linting and Formatting

You can run the following commands to lint and format your code:

# Formats your code
npm run format

# Lints your code
npm run lint

# Lints and fixes your code
npm run lint:fix

# Lints your code in CI mode
npm run lint:ci