Skip to content

Commit ad86192

Browse files
committed
feat: init commit
0 parents  commit ad86192

35 files changed

+8948
-0
lines changed

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
.git

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = false
12+
insert_final_newline = false

.env.example

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Server Settings
2+
APP_NAME=Example
3+
NODE_ENV=development
4+
PORT=3000
5+
APP_URL=http://localhost
6+
FRONTEND_URL=http://localhost:5000
7+
API_VERSION=v1
8+
9+
# JWT settings
10+
SECRET_KEY="very-secret-key"
11+
12+
# Session secret key
13+
SESSION_SECRET="very-secret-key"
14+
15+
# Database settings
16+
DB_CONNECTION=psql
17+
DB_HOST=127.0.0.1
18+
DB_PORT=3306
19+
DB_DATABASE=example
20+
DB_USERNAME=root
21+
DB_PASSWORD=
22+
23+
# Mail settings
24+
MAIL_MAILER=smtp
25+
MAIL_HOST=127.0.0.1
26+
MAIL_PORT=1025
27+
MAIL_USERNAME=user
28+
MAIL_PASSWORD=password
29+
MAIL_ENCRYPTION=null
30+
MAIL_FROM_ADDRESS="cliuno@example.com"
31+
MAIL_FROM_NAME="${APP_NAME}"
32+
33+
# Redis settings
34+
REDIS_HOST=127.0.0.1
35+
REDIS_PASSWORD=null
36+
REDIS_PORT=6379

.env.production

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Server Settings
2+
APP_NAME=Example
3+
NODE_ENV=development
4+
PORT=3000
5+
APP_URL=http://localhost
6+
FRONTEND_URL=http://localhost:5000
7+
API_VERSION=v1
8+
9+
# JWT settings
10+
SECRET_KEY="very-secret-key"
11+
12+
# Session secret key
13+
SESSION_SECRET="very-secret-key"
14+
15+
# Database settings
16+
DB_CONNECTION=psql
17+
DB_HOST=127.0.0.1
18+
DB_PORT=3306
19+
DB_DATABASE=example
20+
DB_USERNAME=root
21+
DB_PASSWORD=
22+
23+
# Mail settings
24+
MAIL_MAILER=smtp
25+
MAIL_HOST=127.0.0.1
26+
MAIL_PORT=1025
27+
MAIL_USERNAME=user
28+
MAIL_PASSWORD=password
29+
MAIL_ENCRYPTION=null
30+
MAIL_FROM_ADDRESS="cliuno@example.com"
31+
MAIL_FROM_NAME="${APP_NAME}"
32+
33+
# Redis settings
34+
REDIS_HOST=127.0.0.1
35+
REDIS_PASSWORD=null
36+
REDIS_PORT=6379

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: ru44
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: ru44y
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
pull_request:
8+
branches:
9+
- "master"
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: pnpm/action-setup@v4
19+
with:
20+
version: 8
21+
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20.x
25+
cache: "pnpm"
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Lint and build
31+
run: pnpm lint && pnpm build
32+
33+
# - name: Create Release Pull Request
34+
# id: changesets
35+
# uses: changesets/action@v1
36+
# with:
37+
# version: pnpm changeset version
38+
# commit: "chore: version packages"
39+
# title: "chore: version packages"
40+
# env:
41+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)