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

Completion #134

Merged
merged 47 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
59a01ed
feat: add workspace page
kituuu Dec 29, 2023
6b85e27
chore: ran prettier
kituuu Dec 29, 2023
b51bbbe
chore: Constructors added in payloads
yp969803 Dec 31, 2023
f534759
Merge remote-tracking branch 'remotes/origin/kitu/addWorkspace_page' …
yp969803 Jan 13, 2024
4c2e7c6
bfix: repetetive login fetch bug fixed
yp969803 Jan 13, 2024
6b7cd05
feat: workspace veiw card initial fetch done
yp969803 Jan 14, 2024
2097c94
feat: Add workspace functionality done
yp969803 Jan 15, 2024
906af94
feat: pin archive and delete workspace functionality done
yp969803 Jan 16, 2024
0aa5242
feat: addProject pinProject ArchiveProject DeleteProject
yp969803 Jan 20, 2024
5596cd2
style: project members
kituuu Jan 20, 2024
982774f
Dockerfile
kituuu Jan 20, 2024
36a6f90
style: workspace page
kituuu Jan 20, 2024
afc6179
feat: leaderboard functionality added
yp969803 Jan 20, 2024
30d7c3a
Merge branch 'kitu/style' of https://github.com/mdgspace/activity-lea…
yp969803 Jan 20, 2024
5c6cdd9
style: project cards
kituuu Jan 20, 2024
a2d34b4
style: projects menu
kituuu Jan 20, 2024
9719e1a
feat: members page
kituuu Jan 20, 2024
14bc88d
feat: Edit route
yp969803 Jan 20, 2024
1647db6
Merge branch 'kitu/style' of https://github.com/mdgspace/activity-lea…
yp969803 Jan 20, 2024
dfc2239
feat: updateWorkspace
yp969803 Jan 20, 2024
f8efe9d
feat: search feature
kituuu Jan 20, 2024
4ea8596
feat: update project
yp969803 Jan 20, 2024
049ace5
Merge branch 'kitu/style' of https://github.com/mdgspace/activity-lea…
yp969803 Jan 20, 2024
3582db0
fix: loader style fix
kituuu Jan 20, 2024
48d0c87
feat: Workspace member role change
yp969803 Jan 21, 2024
8b83694
feat: add people in workspace
yp969803 Jan 21, 2024
9507565
Merge branch 'kitu/style' of https://github.com/mdgspace/activity-lea…
yp969803 Jan 21, 2024
fd0109d
feat: manage Project
yp969803 Jan 21, 2024
bd5531f
chore: card code optimised
yp969803 Jan 22, 2024
6647f10
rfac: CONTRIBUTION.md
yp969803 Feb 11, 2024
24b6897
chore: delete backend filedata
yp969803 Feb 13, 2024
d38a4a7
bfix: archive and pin project
yp969803 Feb 14, 2024
4c6eaef
bfix: archive bookmark
yp969803 Feb 14, 2024
9e006cd
bfix: time button css
yp969803 Feb 14, 2024
f756b4d
feat: logout
yp969803 Feb 14, 2024
e47eca0
feat: firstVisit popup
kituuu Feb 11, 2024
22cc4e6
Merge branch 'sudo' of github.com:mdgspace/activity-leaderboard into …
kituuu Feb 16, 2024
315b78c
feat: member search feature
kituuu Feb 16, 2024
e243de2
chore: ran prettier
kituuu Feb 16, 2024
416af5d
rfac: workspace-view
yp969803 Feb 16, 2024
94676e0
Merge branch 'kitu' of https://github.com/mdgspace/activity-leaderboa…
yp969803 Feb 16, 2024
8a2dc5e
chore: Home button on workspace
yp969803 Feb 16, 2024
3bdd183
rfac: removed useless imports
yp969803 Feb 16, 2024
32cba8d
bfix: firstVisit import on BasicRoute
yp969803 Feb 16, 2024
d369d4b
rfac: project card pointer
yp969803 Feb 16, 2024
61413b5
rfac: dockerfile dockercompose
yp969803 Feb 16, 2024
8299e8a
feat: markdowns
yp969803 Feb 16, 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
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
build
.github
node_modules
.eslintignore
.eslintrc.json
.prettierignore
.prettierrc
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLIENT_ID =
BACKEND_URL =
AVATAR_API =
96 changes: 96 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@

name: Bug Report
title: "[Bug] Bug title "
description: Create a report to help us identify any unintended flaws, errors, or faults.
body:
- type: checkboxes
attributes:
label: Before Creating the Bug Report
options:
- label: >
I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/mdgspace/activity-leaderboard-backend/discussions).
required: true
- label: >
I have searched the [GitHub Issues](https://github.com/mdgspace/activity-leaderboard-backend/issues) and [GitHub Discussions](https://github.com/mdgspace/activity-leaderboard-backend/discussions) of this repository and believe that this is not a duplicate.
required: true
- label: >
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
required: true

- type: textarea
attributes:
label: Runtime platform environment
description: Describe the runtime platform environment.
placeholder: >
OS: (e.g., "Ubuntu 20.04")
OS: (e.g., "Windows Server 2019")
validations:
required: true

- type: textarea
attributes:
label: Backend version
description: Describe the Backend version.
placeholder: >
branch: (e.g main)
version: (e.g. 1.0.0)
Git commit id: (e.g. c88b5cfa72e204962929eea105687647146112c6)
validations:
required: true

- type: textarea
attributes:
label: JDK Version
description: Run or Compiler version.
placeholder: >
Compiler: (e.g., "Oracle JDK 11.0.17")
OS: (e.g., "Ubuntu 20.04")
Runtime (if different from JDK above): (e.g., "Oracle JRE 8u251")
OS (if different from OS compiled on): (e.g., "Windows Server 2019")
validations:
required: false

- type: textarea
attributes:
label: Describe the Bug
description: Describe what happened.
placeholder: >
A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
attributes:
label: Steps to Reproduce
description: Describe the steps to reproduce the bug here.
placeholder: >
If possible, provide a recipe for reproducing the error.
validations:
required: true

- type: textarea
attributes:
label: What Did You Expect to See?
description: You expect to see result.
placeholder: >
A clear and concise description of what you expected to see.
validations:
required: true

- type: textarea
attributes:
label: What Did You See Instead?
description: You instead to see result.
placeholder: >
A clear and concise description of what you saw instead.
validations:
required: true

- type: textarea
attributes:
label: Additional Context
description: Additional context.
placeholder: >
Add any other context about the problem here.
validations:
required: false
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


blank_issues_enabled: false
contact_links:
- name: Ask Question
url: https://github.com/mdgspace/activity-leaderboard-backend/discussions
about: Please go to GitHub Disccusions to ask questions
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

name: Documentation Related
title: "[Doc] Documentation Related "
description: I find some issues related to the documentation.
labels: [ "module/doc" ]
body:
- type: checkboxes
attributes:
label: Search before creation
description: >
Please make sure to search in the [issues](https://github.com/mdgspace/activity-leaderboard-backend/issues)
first to see whether the same issue was reported already.
options:
- label: >
I had searched in the [issues](https://github.com/mdgspace/activity-leaderboard-backend/issues) and found
no similar issues.
required: true

- type: textarea
attributes:
label: Documentation Related
description: Describe the suggestion about document.
placeholder: >
e.g There is a typo
validations:
required: true

- type: checkboxes
attributes:
label: Are you willing to submit PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the fix.
options:
- label: Yes I am willing to submit a PR!

- type: markdown
attributes:
value: "Thanks for completing our form!"
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@


name: Enhancement Request
title: "[Enhancement] Enhancement title"
description: Suggest an enhancement for this project
labels: [ "type/enhancement" ]
body:
- type: checkboxes
attributes:
label: Before Creating the Enhancement Request
description: >
Most of issues should be classified as bug or feature request. An issue should be considered as an enhancement when it proposes improvements to
existing functionality or user experience, without necessarily introducing new features or fixing existing bugs.
options:
- label: >
I have confirmed that this should be classified as an enhancement rather than a bug/feature.
required: true

- type: textarea
attributes:
label: Summary
placeholder: >
A clear and concise description of the enhancement you would like to see in the project.
validations:
required: true

- type: textarea
attributes:
label: Motivation
placeholder: >
Explain why you believe this enhancement is necessary, and how it benefits the project and community.
Include any specific use cases that you have in mind.
validations:
required: true

- type: textarea
attributes:
label: Describe the Solution You'd Like
placeholder: >
Describe the enhancement you propose, detailing the change and implementation steps involved.
If you have multiple solutions, please list them separately.
validations:
required: true

- type: textarea
attributes:
label: Describe Alternatives You've Considered
placeholder: >
List any alternative enhancements or implementations you have considered, and explain why they may not be as effective or appropriate.
validations:
required: true

- type: textarea
attributes:
label: Additional Context
placeholder: >
Add any relevant context, screenshots, prototypes, or other supplementary information to help illustrate the enhancement.
validations:
required: false
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: Feature Request
title: "[Feature] New feature title"
description: Suggest an idea for this project.
labels: [ "type/new feature" ]
body:
- type: textarea
attributes:
label: Is Your Feature Request Related to a Problem?
description: Please Describe It.
placeholder: >
A clear and concise description of what the problem is.
validations:
required: true

- type: textarea
attributes:
label: Describe the Solution You'd Like
description: Describe how you solved it.
placeholder: >
A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
attributes:
label: Describe Alternatives You've Considered
description: Describe your solution
placeholder: >
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true

- type: textarea
attributes:
label: Additional Context
description: Additional context.
placeholder: >
Add any other context about the problem here.
validations:
required: false
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->

### Which Issue(s) This PR Fixes

<!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. -->

Fixes #issue_id

### Brief Description

<!-- Write a brief description for your pull request to help the maintainer understand the reasons behind your changes. -->

### How Did You Test This Change?

<!-- In order to ensure the code quality of Apache RocketMQ, we expect every pull request to have undergone thorough testing. -->
23 changes: 23 additions & 0 deletions DEPLOYMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Deployment Guide

## Prerequisites
- [Git](https://git-scm.com/downloads)
- [Docker](https://docs.docker.com/engine/install/)
- [MultiAvatar api secret Key](https://api.multiavatar.com/)
- [Github OAuth App](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app)

## Steps

### Clone the repo
```
git clone https://github.com/mdgspace/activity-leaderboard.git

cd activity-leaderboard
```

### Create .env using .env.example

### Run docker-compose
```
docker compose up -d
```
31 changes: 31 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Deployment Guide

## Prerequisites
- [Git](https://git-scm.com/downloads)
- [Docker](https://docs.docker.com/engine/install/)
- [nodejs](https://nodejs.org/en/download)
- [MultiAvatar api secret Key](https://api.multiavatar.com/)
- [Github OAuth App](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app)

## Steps

### Clone the repo
```
git clone https://github.com/mdgspace/activity-leaderboard.git

cd activity-leaderboard
```

### Create .env using .env.example

### Run
1. `npm ci`
2. `npm run prepare`
3. `npm run lint`
4. `npm run prettier`

### Run appplication

```
npm start
```
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM node:latest as build

WORKDIR /app

COPY package.json package-lock.json ./

RUN npm install

COPY . ./

RUN npm run build


FROM nginx:alpine

COPY --from=build /app/build /usr/share/nginx/html

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
24 changes: 24 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Start from a Node base image
FROM node:latest
# Set the working directory
WORKDIR /app
# Set environment variables
ARG CLIENT_ID
ENV CLIENT_ID=${CLIENT_ID}
ARG BACKEND_URL
ENV BACKEND_URL=${BACKEND_URL}
ARG AVATAR_API
ENV AVATAR_API=${AVATAR_API}
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the code
COPY . .
# Build the app
RUN npm run build
# Expose the port the app runs on
EXPOSE 3000
# Start the application
CMD ["npm", "start"]

Loading
Loading