Skip to content

Commit

Permalink
Feat: link services added
Browse files Browse the repository at this point in the history
  • Loading branch information
GIHAA committed Feb 18, 2024
1 parent 67b2099 commit 8022595
Show file tree
Hide file tree
Showing 34 changed files with 13,515 additions and 1,777 deletions.
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": ["@babel/preset-env"],
"plugins": [
["module-resolver", {
"alias": {
"@": ["./src"]
}
}]
]
}
14 changes: 14 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test
node_modules
logs

commitlint.config.cjs
README.md

.github
.eslintcache
.eslintrc
.gitignore
.prettierignore
.prettierrc
.env.example
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": [
"@sliit-foss/eslint-config-internal"
],
"env": {
"browser": false,
"node": true,
"jest": true,
"es6": true
},
"rules": {
"no-sparse-arrays": "off",
"no-nested-ternary": "off",
"newline-per-chained-call": "off",
"import/order": "off"
}
}
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
/node_modules
dist/
logs/
node_modules/
.vscode/
yarn.lock
yarn-error.log
.env
.history
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
save-exact=true
enable-pre-post-scripts=true
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
out/**
dist/**
logs/**
coverage/**
node_modules/**
18 changes: 18 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"printWidth": 120,
"bracketSameLine": true,
"bracketSpacing": true,
"singleQuote": true,
"quoteProps": "consistent",
"trailingComma": "none",
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": [
"^(express*(.*)$)",
"^(@sliit-foss*(.*)$)",
"<THIRD_PARTY_MODULES>",
"^(.*@/*(.*)$)",
"^[./]"
],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true
}
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:16-alpine

WORKDIR /app

COPY . .

RUN npm i -g [email protected]

RUN pnpm install --ignore-scripts --fix-lockfile
RUN pnpm build

CMD ["node", "dist/app.js"]

EXPOSE 3000
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 SLIIT FOSS Community
Copyright (c) 2024 SLIIT FOSS Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# url-shortner-be
8 changes: 8 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@/*": ["*"]
}
}
}
Loading

0 comments on commit 8022595

Please sign in to comment.