Skip to content

Commit

Permalink
frefactor: fixed bacground, added it to store
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedakup committed Dec 3, 2024
1 parent 3635e1b commit c44b238
Show file tree
Hide file tree
Showing 70 changed files with 1,849 additions and 770 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"extensions.required": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
],
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
}
}
2 changes: 1 addition & 1 deletion backend/src/handlers/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "lambda-local --timeout 300 --lambda-path index.js --event-path event.json",
"bundle": "rm -f custom-authorizer.zip ; zip custom-authorizer.zip -r *.js *.json node_modules/"
},
"author": "Jason Haines",
"author": "Dedakup",
"license": "Apache-2.0",
"dependencies": {
"auth0": "^2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion backend/src/handlers/handlers.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Controllers that handle incoming API requests.
# Controllers that handle incoming API requests
2 changes: 1 addition & 1 deletion backend/src/services/services.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Business logic lives here. They should not directly interact with the database.
# Business logic lives here. They should not directly interact with the database
Empty file added docs/codebase/codebase.md
Empty file.
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Login

Redirects user to Auth0 login page
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Logout

Deletes token and send request to server and redux to log out user
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Pop over that cointains list of tasks. Parses list from server and maps them
# Tasks

Pop over that contains list of tasks. Parses list from server and maps them
16 changes: 11 additions & 5 deletions docs/coding standarts/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ During MVP development, you’ll likely stick to `0.x.x` versions since the app

In Git, you can create **tags** to mark specific commits as versioned releases.

#### **How to Tag a Version in Git**:
#### **How to Tag a Version in Git**

1. Commit your changes:

Expand All @@ -69,15 +69,16 @@ In Git, you can create **tags** to mark specific commits as versioned releases.
git push origin v0.1.0
```

#### **Viewing All Tags**:
#### **Viewing All Tags**

```bash
git tag
```

#### **Annotate Tags for Additional Context**:
#### **Annotate Tags for Additional Context**

You can add annotations to explain the purpose of the version:

```bash
git tag -a v0.1.0 -m "Initial MVP release with login and dashboard features"
git push origin v0.1.0
Expand All @@ -88,8 +89,10 @@ git push origin v0.1.0
### **3. Automate Versioning with Tools**

If you want to automate version management, use tools like:

- **Semantic Release**: Automatically determines the next version based on commit messages.
- **npm Versioning**: If you’re building an npm-based app, use `npm version`:

```bash
npm version minor
```
Expand All @@ -99,6 +102,7 @@ If you want to automate version management, use tools like:
### **4. Maintain a CHANGELOG**

Document changes in a `CHANGELOG.md` file to provide a clear history of updates. Use this format:

```markdown
# Changelog

Expand All @@ -119,11 +123,12 @@ Document changes in a `CHANGELOG.md` file to provide a clear history of updates.
### **5. Consider Pre-Release Tags**

If the MVP isn’t ready for production but has testable versions, use **pre-release tags**:

- Examples: `0.1.0-alpha`, `0.1.0-beta`.
- **Alpha**: Early, unstable versions for internal testing.
- **Beta**: More stable but still in testing phase.

#### **How to Tag a Pre-Release Version in Git**:
#### **How to Tag a Pre-Release Version in Git**

```bash
git tag v0.1.0-alpha
Expand All @@ -135,6 +140,7 @@ git push origin v0.1.0-alpha
### **6. Version APIs Separately**

If your MVP includes a backend API, consider versioning it independently using URL-based versioning:

- Example: `https://api.example.com/v1/`

---
Expand Down Expand Up @@ -163,4 +169,4 @@ If your MVP includes a backend API, consider versioning it independently using U

---

Let me know if you’d like help setting up versioning or automating this process for your MVP!
Let me know if you’d like help setting up versioning or automating this process for your MVP!
50 changes: 25 additions & 25 deletions frontend/components.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks",
"styles": "@/styles",
"types": "@/types",
"constants": "@/constants",
"services": "@/services",
"context": "@/context"
},
"iconLibrary": "lucide"
}
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks",
"styles": "@/styles",
"types": "@/types",
"constants": "@/constants",
"services": "@/services",
"context": "@/context"
},
"iconLibrary": "lucide"
}
2 changes: 1 addition & 1 deletion frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
Expand Down
Loading

0 comments on commit c44b238

Please sign in to comment.