Skip to content

Commit

Permalink
Migrated develop branch to typescript including the changes till octo…
Browse files Browse the repository at this point in the history
…ber 19, 2022
  • Loading branch information
xoldd committed Nov 3, 2022
1 parent cecf46f commit 1227bd4
Show file tree
Hide file tree
Showing 710 changed files with 53,908 additions and 40,047 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
node_modules
21 changes: 14 additions & 7 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
# 👋 Welcome, we're glad you're setting up an installation of Talawa-api. Copy this
# 👋 Welcome, we're glad you're setting up an installation of Talawa-api. Copy this
# file to .env or set the variables in your local environment manually.


# Generate a unique random key, you can use `openssl rand -hex 32` in terminal

ACCESS_TOKEN_SECRET=


# Generate a unique random key, you can use `openssl rand -hex 32` in terminal

REFRESH_TOKEN_SECRET=

# if you are using DOCKER use this mongodb url
# mongodb://mongo:27017/talawa-api
# if you are using hosted mongodb, mongodb connection string will look like this
# mongodb+srv://<username>:<password>@<server_url>/<db_name>?retryWrites=true&w=majority
# for local instance use this connection string
# mongodb://localhost:27017/<db_name>?retryWrites=true&w=majority

# Please read about mongodb connection string here :- https://www.mongodb.com/docs/v5.2/reference/connection-string/

# This is the default mongodb connection string for the mongodb docker container that's created along with talawa-api docker container.
# Use this as the value for `MONGO_DB_URL` environment variables when you're using the docker approach.

# mongodb://talawa_mongodb:27017/talawa-api?retryWrites=true&w=majority


# This environment variable is used to provide the mongodb connection string to talawa-api.
MONGO_DB_URL=


# Get the google recaptcha secret key from google recaptcha admin or https://www.google.com/recaptcha/admin/create
# from here for reCAPTCHA v2 and "I'm not a robot" Checkbox, and paste the key here.
# Note: In domains, fill localhost
Expand Down
7 changes: 4 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.github
.vscode

old-api
build
coverage
node_modules
src/generated
32 changes: 0 additions & 32 deletions .eslintrc.js

This file was deleted.

64 changes: 64 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"env": {
"es2022": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended"
],
"overrides": [
{
"files": [
"*.ts"
],
"processor": "@graphql-eslint/graphql"
},
{
"files": [
"*.graphql"
],
"parser": "@graphql-eslint/eslint-plugin",
"plugins": [
"@graphql-eslint"
]
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"root": true,
"rules": {
"eqeqeq": [
"error",
"always"
],
"linebreak-style": [
"error",
"unix"
],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"quotes": [
"error",
"double",
{
"allowTemplateLiterals": true,
"avoidEscape": true
}
]
}
}
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

51 changes: 0 additions & 51 deletions .github/pull_request_template.md

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/authorized-changes-detection.yml

This file was deleted.

Loading

0 comments on commit 1227bd4

Please sign in to comment.