Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
eb69602
Initial commit
mikaelasturk Mar 17, 2026
351cd90
Initial commit
mikaelasturk Mar 17, 2026
74d6c1f
Add initial project documentation and structure with planning, README…
mikaelasturk Mar 17, 2026
879549b
Add initial project documentation and structure with planning, README…
mikaelasturk Mar 17, 2026
fce7629
Add SETUP-PREPLANNING documentation with project requirements and tec…
mikaelasturk Mar 18, 2026
829239d
Refactor project structure with styled-components integration and add…
mikaelasturk Mar 19, 2026
efee68f
Update HTML title, enhance MembershipCard component, and add membersh…
mikaelasturk Mar 19, 2026
e4ee264
Implement content store and update MembershipCard and OmMedlemskap co…
mikaelasturk Mar 19, 2026
ff02c06
Refactor components to utilize content store, enhance styling, and im…
mikaelasturk Mar 22, 2026
2e38a6a
Add routing with react-router, implement login functionality, and enh…
mikaelasturk Mar 23, 2026
e8d6329
Add Zustand for state management, implement Navbar and Hamburger comp…
mikaelasturk Mar 23, 2026
dbefbf8
Implement routing for Medlemsportal, enhance LoggaIn and layout compo…
mikaelasturk Mar 24, 2026
9f7aaa8
Update routing to use react-router-dom, enhance LogInCard and layout …
mikaelasturk Mar 25, 2026
fb31336
Add sign-up functionality with BliMedlem page, enhance LogInCard and …
mikaelasturk Mar 25, 2026
60a204a
Update Navbar links, adjust button margin, and refine padding in BliM…
mikaelasturk Mar 26, 2026
1f915bf
added pictures and logos file to repo. Added hero to om-medlemskap pa…
Mar 26, 2026
71ff6ac
Add checkbox icons and enhance membership card layout and content
Mar 26, 2026
819a6ab
Update Hero component background position and height; enhance Navbar …
Mar 26, 2026
6dc9ba1
Vibecoded: Enhance layout and styling across multiple components; add…
mikaelasturk Mar 31, 2026
e1aace1
Restructured foldersystem to add backend to project. All previous fil…
mikaelasturk Apr 2, 2026
726bb65
Update backend dependencies in package.json
mikaelasturk Apr 2, 2026
3f9dac9
Update .gitignore to include environment variable files
mikaelasturk Apr 2, 2026
03f1320
backend: made folder structure and created files and added todos in e…
Apr 8, 2026
613bea1
backend: added User schema started on seeding database for testing an…
Apr 8, 2026
15b0cd7
saved updates from yesterday in seedingusers
Apr 9, 2026
4032300
backend: implement user authentication routes for login and signup, a…
Apr 9, 2026
2b515ee
backend: added dashboard routes and connected auth middleware to thos…
Apr 10, 2026
6e2c2c1
changed dashboard route name in server for debugging render
Apr 28, 2026
f2c1f43
debugging in dashboard route for id
Apr 29, 2026
6d11a41
frontend: added route protection for /konto and subroutes, added post…
Apr 29, 2026
1106543
frontend: enhance signup form with additional fields and city selecto…
May 5, 2026
4e7a384
frontend: implement form state management with zustand, enhance SignU…
May 6, 2026
2d44947
Merge pull request #1 from mikaelasturk/backend-structure-carolina
carro-barro May 6, 2026
f51495f
debugging
May 6, 2026
354c00d
Merge pull request #2 from mikaelasturk/backend-structure-carolina
carro-barro May 6, 2026
dcce7c3
frontend: refactor form handling in SignUpForm and LogInForm, add Erb…
May 6, 2026
20a0643
changed in mina sidor and medlemskap saved
May 7, 2026
542e9a0
added todos and small changes
May 7, 2026
cd5730b
refactor: update comments in Events.jsx and rename loggaIn to signUp …
mikaelasturk May 7, 2026
e56bf34
Merge branch 'main' of https://github.com/mikaelasturk/womenation-mem…
mikaelasturk May 7, 2026
541550e
backend: added justify membership to userschema and added required
May 8, 2026
0c85cca
added justify membership to sign up route and added it to seeding users
May 8, 2026
2ff9a28
refactor: pass handleSignUp prop to SignUpCard and SignUpForm compone…
May 8, 2026
0f17af9
backend: added mailchimp config and set it up in signup route and ins…
May 11, 2026
b3fdb03
debugging for render, pacakge missing
May 11, 2026
432f3a4
debugging for signup and mailchimp integration: added lowercase true …
May 11, 2026
bc19f52
debugging mailchimp config and changed how we fetch id in medlemsport…
May 11, 2026
e73b27a
fix: update ISPREMIUM field to return "Premium" or "Gratis" based on …
mikaelasturk May 11, 2026
18829f3
debugging: handle Mailchimp sync failure in signup route with detaile…
mikaelasturk May 11, 2026
cb0cac8
refactor(signup): split city value for DB and city label for Mailchimp
mikaelasturk May 11, 2026
8ce2d25
fix(mailchimp): rename ISPREMIUM field to MMERGE15 for Mailchimp inte…
mikaelasturk May 11, 2026
e48b682
update user signup error message
mikaelasturk May 11, 2026
b5096b5
refactor: implement userStore for state management and replace useSta…
mikaelasturk May 11, 2026
93930c3
refactor: update Mailchimp configuration and remove localStorage usag…
mikaelasturk May 12, 2026
6dc7a93
refactor: enhance event and membership pages with new components, upd…
May 13, 2026
0b756f1
added user data to mina sidor and finsihed accountInfoCard started ad…
May 14, 2026
295addc
saved changes to contentStore
May 14, 2026
b3afa93
Refactor folder structure and update imports paths
mikaelasturk May 14, 2026
7c639c2
Merge pull request #3 from mikaelasturk/Carolina-medlemsportal-compon…
mikaelasturk May 14, 2026
9961431
Merge remote-tracking branch 'origin/main' into mikaela-folder-restru…
mikaelasturk May 14, 2026
33439b4
Refactor import paths after merge to carolina-medlemsportal-compontents
mikaelasturk May 14, 2026
3e4b0c4
Merge pull request #4 from mikaelasturk/mikaela-folder-restructure
mikaelasturk May 14, 2026
f910165
Refactor navigation components and styles; sidebar amd SidebarHamMenu
mikaelasturk May 14, 2026
ba1b3ae
Remove padding from StyledButton in SidebarHamMenu component
mikaelasturk May 14, 2026
dc96862
Add _redirects file to serve index.html for all routes
mikaelasturk May 17, 2026
d7a834d
Refactor navigation components to close menu on link click; update st…
mikaelasturk May 17, 2026
2c17a96
Update README.md to reflect project details and structure; add sectio…
mikaelasturk May 17, 2026
659f8c5
Moved md files out of folder
mikaelasturk May 17, 2026
83c9497
Update .gitignore to include 'anteckningar' directory; remove unused …
mikaelasturk May 17, 2026
dc5b7f2
Merge remote-tracking branch 'external/main' into merge-external
mikaelasturk May 18, 2026
b75ea3f
Merge branch 'merge-external'
mikaelasturk May 18, 2026
c87b7fe
Add Netlify configuration for build and redirects
mikaelasturk Jun 12, 2026
e7dea00
Bugfix: lighthouse 100% and layoutfixes
mikaelasturk Jun 12, 2026
8cd7607
Update README.md with correct frontend demo link; remove unused READM…
mikaelasturk Jun 15, 2026
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
32 changes: 24 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

anteckningar
node_modules
.DS_Store
dist
dist-ssr
*.local
package-lock.json
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

build

npm-debug.log*
yarn-debug.log*
yarn-error.log*

package-lock.json
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
203 changes: 203 additions & 0 deletions PLANNING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
> 📚 **Navigation:** [README](README.md) | [TODO](TODO.md)
# 📐 Planning Document
> **Open in preview**
`Shift + Command + V on Mac`
`Shift + Control + V on Windows`

> 💡 **Tip:** Convert planning items to tasks in TODO.md as you finalize decisions

## 📋 Table of Contents
- [Project Overview](#1)
- [Goals & Requirements](#2)
- [Design & Wireframes](#3)
- [Technical Planning](#4)
- [API Planning](#5)
- [State Management](#6)
- [Accessibility Plan](#7)
- [Timeline & Milestones](#8)
- [Risks & Challenges](#9)
- [Resources & References](#10)
- [Notes & Ideas](#11)
- [Next Steps](#12)

<a id="1"></a>
## 📌 Project Overview
**Project Name:** Womenation Membership
**Timeline:** 17/3 - 24/4

### Project Description


<a id="2"></a>
## 🎯 Goals & Requirements

### Core Requirements (Must-Have)
- Requirement 1
- Requirement 2
- Requirement 3

### Stretch Goals (Nice-to-Have)
- Feature 1
- Feature 2

### Learning Objectives
What do you want to learn/practice in this project?
- Technology, concept, or skill to practice

<a id="3"></a>
## 🎨 Design & Wireframes

In graphical design file.

### Wireframes
[Figmadesign WIP](https://www.figma.com/design/TZNZ0U28L0Z7IOS1g4oUOR/womenation--design?node-id=0-1&p=f&t=ggM79gvBe0FchJft-0)

<a id="4"></a>
## 🏗️ Technical Planning
### Tech Stack Decision
| Technology | Purpose | Why chosen? |
|------------|---------|-------------|
| Framework/Library | Frontend/Backend | Reasoning |
| Tool/Service | Specific use case | Reasoning |
| React | Frontend | |
| MongoDB | | |
| | | |

### Components Breakdown
List all planned components:

**Reusable Components:**
- `ComponentName` - Purpose and functionality
- `ComponentName` - Purpose and functionality

**Page Components:**
- `PageName` - What the page displays/does
- `PageName` - What the page displays/does

**Layout Components:**
- `LayoutElement` - Purpose and location
- `LayoutElement` - Purpose and location

<a id="5"></a>
## 🔌 API Planning
### Endpoints to Use
| Endpoint | Method | Purpose | Response |
|----------|--------|---------|----------|
| `/api/resource` | GET | Description of what it fetches | Data type returned |
| `/api/resource/:id` | GET | Description of specific fetch | Data type returned |

### Data Structure
```json
{
"id": 1,
"property": "value",
"nested": {
"key": "value"
}
}
```

### Error Handling Strategy
- Network errors: Show error message
- 404: Display "Not found" page
- 500: Display "Server error" message

<a id="6"></a>
## 📊 State Management
### State Planning
What state do you need to manage?

**Global State:**
- User authentication status
- Theme preference

**Component State:**
- Loading states
- Error states
- Local state item and scope


### Data Flow
Describe how data moves through your app:
1. User action triggers...
2. Component updates state...
3. API call is made...
4. Response updates UI...

<a id="7"></a>
## ♿ Accessibility Plan (example)
### Checklist
- [ ] Semantic HTML elements
- [ ] Alt text for all images
- [ ] Keyboard navigation
- [ ] ARIA labels where needed
- [ ] Color contrast ratio (WCAG AA)
- [ ] Focus indicators
- [ ] Screen reader testing

<a id="8"></a>
## 📅 Timeline & Milestones
### Week 1: Planning & Setup
- [ ] Project planning
- [ ] Setup repository
- [ ] Create basic structure

### Week 2: Core Features
- [ ] Implement feature A
- [ ] Implement feature B

### Week 3: Styling & Polish
- [ ] Responsive design
- [ ] Cross-browser testing

### Week 4: Final Touches
- [ ] Bug fixes
- [ ] Documentation
- [ ] Deployment

<a id="9"></a>
## 🚨 Risks & Challenges
### Potential Blockers
| Risk | Impact | Mitigation |
|------|--------|------------|
| API downtime | High | Implement error handling, mock data |
| Time constraint | Medium | Prioritize core features first |

### Questions to Resolve
- How should pagination work?
- What's the fallback for missing images?
- How to handle expired tokens?


<a id="10"></a>
## 📚 Resources & References
### Tutorials
- [Tutorial name](link)

### Documentation
- [Library docs](link)

### Inspiration
- [Similar project](link)

### Tools
- [Design tool](link)
- [Icon library](link)


<a id="11"></a>
## 📝 Notes & Ideas
Random thoughts, ideas, or things to remember:
-
-

<a id="12"></a>
## 🔄 Next Steps
Once planning is complete:
1. ✅ Review and finalize all sections above
2. 📋 Create actionable tasks in [TODO](TODO.md) based on this plan
3. 🚀 Begin implementation following the timeline
4. 📝 Update [README](README.md) as features are completed

**Last Updated:** [Date]
**Next Review:** [Date]
Loading