Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 718d425

Browse files
Merge pull request #2 from the-code-genin/V2-draft
V2 draft
2 parents 4c33aa1 + bd109ab commit 718d425

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2901
-438
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
.env
3-
dist
3+
build

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
NODE_ENV=development
2-
APP_URL=http://127.0.0.1:9000
32
PORT=9000
43
APP_KEY= # Secure random string
54

.eslintrc.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended"
9+
],
10+
"overrides": [
11+
],
12+
"parser": "@typescript-eslint/parser",
13+
"parserOptions": {
14+
"ecmaVersion": "latest",
15+
"sourceType": "module"
16+
},
17+
"plugins": [
18+
"@typescript-eslint"
19+
],
20+
"rules": {
21+
"indent": [
22+
"error",
23+
4
24+
],
25+
"linebreak-style": [
26+
"error",
27+
"unix"
28+
],
29+
"quotes": [
30+
"error",
31+
"double"
32+
],
33+
"semi": [
34+
"error",
35+
"always"
36+
]
37+
}
38+
}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
.env
3-
dist
3+
build

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ WORKDIR /app
33
COPY package.json package-lock.json ./
44
RUN npm install
55
COPY . .
6+
RUN npm run build
67
CMD [ "npm", "start" ]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Mohammed Adekunle
3+
Copyright (c) 2022 Mohammed Adekunle
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

index.ts

Lines changed: 0 additions & 59 deletions
This file was deleted.

lib/helpers/calculate-page-offset-and-limit.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

lib/helpers/jwt.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

lib/helpers/random-string.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)