Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/title #15

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
cc30cb1
[feature/boiler-plate] vite setup
SharyuMarwadi Jul 26, 2024
a4ed6e0
admin login page
SharyuMarwadi Jul 30, 2024
7fbdf57
[feature/PEER-50-Appreciations] table set
SharyuMarwadi Aug 1, 2024
0205a37
[feature/PEER-50-Appreciations] appreciations page done
SharyuMarwadi Aug 5, 2024
1029bb9
[feature/PEER-57-Config] edit renewal frequency done
SharyuMarwadi Aug 6, 2024
6965b72
[feature/PEER-57-Config] config page functional
SharyuMarwadi Aug 6, 2024
e45bc7e
[feature/PEER-57-Config] useEffect fixes
SharyuMarwadi Aug 7, 2024
5ec6c89
[feature/PEER-53-Badges] badges table don
SharyuMarwadi Aug 7, 2024
818f8d5
[feature/PEER-53-Badges] css fixed
SharyuMarwadi Aug 8, 2024
91ff4de
[feature/PEER-53-Badges] core values completed
SharyuMarwadi Aug 11, 2024
e306a3c
[feature/Dashboard] report download done
SharyuMarwadi Aug 12, 2024
14b92b4
[feature/Dashboard] notifications done
SharyuMarwadi Aug 13, 2024
9b11504
[feature/Dashboard] base url constant added
SharyuMarwadi Aug 13, 2024
14e187c
[feature/Dashboard] download two different reports
SharyuMarwadi Aug 17, 2024
80dafdc
[feature/PEER-58-AdminLogin] login page done
SharyuMarwadi Aug 22, 2024
b4a5e14
[feature/Header] header done
SharyuMarwadi Aug 22, 2024
a01fc8f
[feature/Sidebar] permanent sidebar done
SharyuMarwadi Aug 22, 2024
d4c081b
[feature/PEER-50-Appreciations] feature/Sidebar merged
SharyuMarwadi Aug 22, 2024
adc474e
[feature/PEER-50-Appreciations] page done
SharyuMarwadi Aug 22, 2024
4d816ed
[feature/PEER-57-Config] feature/PEER-50-Appreciations merged
SharyuMarwadi Aug 22, 2024
5ba4b8d
[feature/PEER-57-Config] config page done
SharyuMarwadi Aug 22, 2024
655edb8
[feature/PEER-53-Badges] feature/PEER-57-Config merged
SharyuMarwadi Aug 22, 2024
c08c171
[feature/PEER-53-Badges] badges page done
SharyuMarwadi Aug 22, 2024
c48674c
[feature/CoreValues] core values page added
SharyuMarwadi Aug 22, 2024
08c54be
[feature/Dashboard] feature/CoreValues merged
SharyuMarwadi Aug 22, 2024
acdf9c7
[feature/Dashboard] dashboard done
SharyuMarwadi Aug 22, 2024
50e2c54
[fix/Quarter] quarter spelling fixed
SharyuMarwadi Aug 22, 2024
4a30f45
Remove .env from tracking
SharyuMarwadi Aug 23, 2024
b941157
Clear Git cache
SharyuMarwadi Aug 23, 2024
5fc78af
logo changed
SharyuMarwadi Aug 23, 2024
ed1615c
[fix/DashboardCss] css fixes
SharyuMarwadi Aug 23, 2024
10f6f8a
[fix/DashboardCss] tables left aligned
SharyuMarwadi Aug 23, 2024
ede3b26
[feature/DashboardCss] warnings removed
SharyuMarwadi Aug 23, 2024
61a017b
[feature/RouteFix] /peerly-admin added to the route
SharyuMarwadi Aug 28, 2024
40eb12d
[fix/RouteFix] base name added
SharyuMarwadi Aug 28, 2024
7f3c6b9
[fix/RouteFix] logout route fix
SharyuMarwadi Aug 29, 2024
f66f828
[feature/minaScript] working mina script
SharyuMarwadi Aug 30, 2024
404c5c7
[feature/Dev] feature/minScript merged
SharyuMarwadi Aug 30, 2024
4a3360f
[feature/minaScript] block added for production deployment
SharyuMarwadi Sep 10, 2024
bf83d93
Merge branch 'feature/minaScript' of github.com:joshsoftware/peerly-a…
SharyuMarwadi Sep 10, 2024
021ded2
website title changed to peerly
SharyuMarwadi Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_BASE_URL = https://pg-stage-intranet.joshsoftware.com/peerly
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.env
8 changes: 8 additions & 0 deletions .vite/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"hash": "53f9bab4",
"configHash": "002b0fa1",
"lockfileHash": "e3b0c442",
"browserHash": "6003c74b",
"optimized": {},
"chunks": {}
}
3 changes: 3 additions & 0 deletions .vite/deps/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# peerly-admin
PeerLy is a peer-reward and recognition system with high-5's. (hi5)
PeerLy is a peer-reward and recognition system
52 changes: 52 additions & 0 deletions deploy.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# deploy.rb

require 'mina/bundler'
require 'mina/npm'
require 'mina/deploy'
require 'mina/git'

set :user, 'ubuntu'
set :repository, 'https://github.com/joshsoftware/peerly-admin'

set :shared_files, [
'.env'
]

task :production do
set :deploy_to, '/www/peerly-admin'
set :domain, 'pg-stage-intranet.joshsoftware.com' #Replace with production domain or ip
set :branch, 'Dev'
command %{source ~/.nvm/nvm.sh}
end

task :staging do
set :deploy_to, '/www/peerly-admin'
set :domain, 'pg-stage-intranet.joshsoftware.com'
set :branch, 'Dev'
command %{source ~/.nvm/nvm.sh}
end

task :setup do

command %{mkdir -p "#{fetch(:deploy_to)}/releases"}

end

task :deploy do
deploy do

# Clone the repository if it doesnt exist
invoke :'git:clone'
invoke :'deploy:link_shared_paths'

# Install dependencies and build the project
command 'npm install'
command 'npm run build'

on :launch do
command 'sudo systemctl reload nignx'
end

end
end

13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Peerly</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading