maya-manager / server Goto Github PK
View Code? Open in Web Editor NEWApp to manage your pocket money and keep track of your expenses and account between multiple people
Home Page: https://discord.com/invite/A2GdYbwAnw
License: MIT License
App to manage your pocket money and keep track of your expenses and account between multiple people
Home Page: https://discord.com/invite/A2GdYbwAnw
License: MIT License
Core
include all the major technologies used in this project
No response
[POST] /auth/login
{
"email": "[email protected]",
"username": "username",
"password": "strong password"
}
No response
Make a pull request template with this body
# Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
# Checklist:
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation (postman and swagger)
- [ ] I have written tests for the code
# Screenshots (optional)
official docs on how to create pull request template: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository
Server
We need to implement a logger that will log all the requests and uncaught exceptions and errors
How to implement global error logger:- https://blog.devops.dev/throw-like-a-pro-in-nestjs-6b4dca2b935c
scroll down to step 4
create a new file .github/workflows/deploy-docs.yml
and paste the following contents
name: Build and Deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn install
yarn docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs # The folder the action should deploy.
Server
Setup PostgreSQL with node js server
No response
Core
Add following things in the REAMDE
Discord invite link: https://discord.com/invite/A2GdYbwAnw
Yarn workspaces: https://yarnpkg.com/features/workspaces
Create a route that will resend the forgot password verification code
No response
Core
This will include following contents
.env
fileand everything else needed to get started with the development process
No response
Create a route /auth/signup/resend/:email
this route will resend the verification code to the provided email.
verification code can be taken from user.verification_code
from database
No response
reference to config files can be found in this repo: https://github.com/MultiEmail/frontend
use this config file and please install all the packages needed to make this configuration work
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"sonarjs",
"no-secrets",
"jsonc",
"pii",
"no-unsanitized"
],
"extends": [
"google",
"prettier",
"plugin:sonarjs/recommended",
"plugin:node/recommended",
"plugin:jsonc/base",
"plugin:pii/recommended",
"plugin:no-unsanitized/DOM",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"semi": "error",
"no-console": "warn",
"no-tabs": "off",
"indent": "off",
"space-infix-ops": "off",
"no-trailing-spaces": "error",
"space-before-blocks": "error",
"quotes": "off",
"camelcase": "error",
"node/no-unpublished-import": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-missing-import": [
"error",
{
"allowModules": [],
"resolvePaths": ["/path/to/a/modules/directory"],
"tryExtensions": [".js", ".ts", ".json", ".node"]
}
],
"valid-jsdoc": "off",
"node/handle-callback-err": "error",
"node/no-path-concat": "error",
"node/no-process-exit": "error",
"node/global-require": "error",
"node/no-sync": "error",
"no-secrets/no-secrets": "error",
"pii/no-email": "off",
"no-invalid-this": "off",
"spaced-comment": "off",
"prefer-destructuring": ["error", { "object": true, "array": true }],
"@typescript-eslint/no-explicit-any": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{ "argsIgnorePattern": "req|res", "varsIgnorePattern": "prop" }
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
// un-ban a type that's banned by default
"{}": false
},
"extendDefaults": true
}
],
"linebreak-style": "off",
"object-curly-spacing": "off",
"comma-dangle": "off",
"new-cap": "off",
"require-await": "error",
"require-jsdoc": "off",
"sonarjs/cognitive-complexity": "off",
"sonarjs/no-duplicate-string": "off",
"sonarjs/no-identical-expressions": "off",
"sonarjs/no-identical-functions": "off",
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"useTabs": true
}
]
}
}
You can add your self for contribution by using @all-contributors
check out their docs: https://allcontributors.org/docs/en/bot/usage
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
docker-compose.test.yml
docker-compose.yml
apps/client/Dockerfile
apps/server/Dockerfile
apps/server/Dockerfile.test
.github/workflows/deploy-docs.yml
actions/checkout v3
JamesIves/github-pages-deploy-action v4
apps/client/package.json
@expo/metro-config ^0.7.1
@expo/webpack-config ^18.1.0
expo ^48.0.19
expo-status-bar ~1.4.4
react 18.2.0
react-native 0.71.11
@babel/core ^7.22.1
@babel/runtime ^7.22.3
@types/react ~18.2.0
eslint-plugin-react ^7.32.2
eslint-plugin-react-native ^4.0.0
ts-node ^10.9.1
typescript ^5.0.0
apps/server/package.json
@nestjs/common ^10.0.0
@nestjs/config ^3.0.0
@nestjs/core ^10.0.0
@nestjs/platform-express ^10.0.0
@prisma/client ^4.15.0
bcrypt ^5.1.0
class-transformer ^0.5.1
class-validator ^0.14.0
dotenv ^16.1.4
nodemailer ^6.9.3
reflect-metadata ^0.1.13
rxjs ^7.2.0
@nestjs/cli ^10.0.0
@nestjs/schematics ^10.0.0
@nestjs/testing ^10.0.0
@types/bcrypt ^5.0.0
@types/express ^4.17.13
@types/jest 29.5.2
@types/node 18.16.18
@types/nodemailer ^6.4.8
@types/supertest ^2.0.11
@typescript-eslint/eslint-plugin ^5.0.0
@typescript-eslint/parser ^5.0.0
eslint ^8.0.1
eslint-config-prettier ^8.3.0
eslint-plugin-prettier ^4.0.0
jest ^29.5.0
prettier ^2.3.2
prisma ^4.15.0
source-map-support ^0.5.20
supertest ^6.1.3
ts-jest 29.1.0
ts-loader ^9.2.3
ts-node ^10.0.0
tsconfig-paths 4.2.0
typescript ^5.0.0
package.json
@commitlint/cli ^17.6.5
@commitlint/config-conventional ^17.6.5
@types/node ^20.2.5
@typescript-eslint/eslint-plugin 5.60.0
@typescript-eslint/parser 5.60.0
all-contributors-cli ^6.25.1
commitlint ^17.6.5
eslint 8.43.0
eslint-config-google 0.14.0
eslint-config-prettier 8.8.0
eslint-import-resolver-typescript 3.5.5
eslint-plugin-import 2.27.5
eslint-plugin-jsonc 2.9.0
eslint-plugin-no-secrets 0.8.9
eslint-plugin-no-unsanitized 4.0.2
eslint-plugin-node 11.1.0
eslint-plugin-pii 1.0.2
eslint-plugin-prettier 4.2.1
eslint-plugin-sonarjs 0.19.0
husky ^8.0.3
prettier 2.8.8
prettier-eslint 15.0.1
typedoc ^0.24.7
typedoc-plugin-markdown ^3.15.3
typedoc-plugin-merge-modules ^5.0.1
typedoc-plugin-missing-exports ^2.0.0
typedoc-plugin-zod ^1.0.2
typescript ^5.1.3
yarn 3.6.0
Create a rate-limiter middleware that will only allow 150 requests per 15 minutes from a single device
nestjs rate limiter:- https://docs.nestjs.com/security/rate-limiting
Server
The verification email that is currently being sent while signing up is not looking good so we need to create an email template with our custom HTML and CSS
No response
create a route [GET] /auth/verify/:email/:verification_code
After signup, an API call will be made to this route to verify the verification code sent to the user's email
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.