-
Notifications
You must be signed in to change notification settings - Fork 10
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
[BK]: Add Session Management (API and Middleware) #13
Comments
I’d like to help with this. |
I am Zubaidat, a backend developer with expertise in TypeORM and secure session handling. Approach to Solve the Issue: I will create a Session entity in TypeORM and implement a SessionService with methods for validating session tokens and creating new sessions during login. The sessionMiddleware will validate tokens and attach user data to requests. The implementation will follow best practices for database efficiency and security. ETA: |
May I pick this up? I am full stack developer with strong experience in Cairo , solidity ,JavaScript,typescript ,react , python etc… looking forward to contributing as this would be my first time contributing to this project… ETA : 3 days |
Is it okay if I tackle this? |
Hello @KevinLatino my name is Diego Duarte Fernández, I'm a software engineer from Costa Rica and Dojo Coding member, I have experience with technologies like Express, Prisma ORM, TypeScript, I've created several APIs using ORMS, tokens and middlewares also I'm maintainer of SafeTrust project which is a security deposit service project. 🤖 I would love to tackle this issue and contribute for your amazing project. Step by step for this issue:
ETA: 72 hours Best regards, Diego Duarte Fernández. ✨ |
i would love to be given the opportunity to tackle this task |
I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Rust. I’ve made over 49 contributions to over 17 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions. I can handle this task. |
I can handle this particular task. |
About meI am a backend developer having experience in Typescript, Rust and Python. I have worked on APIs and various middleware projects. How I will solve this issue?Here is how I will solve the issue:
ETA: 2days |
Hi. I am a fullstack web developer and a recent alumni of Web3Bridge, the largest and most sought after blockchain developer community in Africa. I am a new contributor to OnlyDust and would love to take on this task to increase my knowledge base and contribute to open source projects. I would solve this task by:
I aim to complete this task within 3 hours after being assigned and setting up my development environment. Thank you for the opportunity and I look forward to working with you. |
Hi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to contribute. I have experience in html, css, JavaScript,TypeScript and solidity, and Cairo. To solve this issue, I’ll take the following steps: ETA: 3days |
May I be assigned to this task? I have experience in backend development with TypeScript, TypeORM, and implementing middleware. I’m confident in creating the Session entity, SessionService, and sessionMiddleware to ensure secure and efficient session management. I’ll also ensure test coverage exceeds 80%. |
Can I work on this, please? |
May I take care of this? |
Can I take care of this issue? |
I will learn the existing code and research the best approach for this issue |
Hii! My name is Mario Araya, I’m a Software Developer with 2+ years of experience. I have worked with backend technologies such as Cairo, Java, and C#, as well as frontend development using React, NextJS, and JavaScript/TypeScript. I’ve made contributions to open-source projects, completed a Starknet Bootcamp, exercises on NodeGuardians, finished Starklings, and participated in multiple hackathons. I’m also a member of the Dojo Coding community here in Costa Rica. I will create a Session entity using typeorm with fields for id, user, token, expiresAt, and timestamp columns. Implement a SessionService with methods to validate session tokens by checking their presence and expiration in the database and to create new sessions during user login. Develop a sessionMiddleware to extract and validate the Authorization header token using the service, rejecting requests with invalid or expired tokens and attaching authenticated user data to the request object for valid sessions. |
Hello, my name is nnubia nzube, I'm a full-stack developer with nearly 4 years of experience working with JavaScript, TypeScript, c#, Express.js, and recently exploring Cairo for blockchain development. I’m passionate about building robust and scalable applications while ensuring clean and maintainable code. For this issue, my approach would be to create a middleware that: Checks if a token is present in the request headers. ETA: 3 days |
Could I take over this issue? ETA 3 days |
Can I tackle this one? I am a senior backend engineer. I will utilize my database skills to save the session in a database with expiry periods. My ETA: 3 Days |
Hi. Id like to take this task |
Hello StarShop Team, I’m Olisa Agbafor, a backend developer with expertise in building secure APIs, middleware, and session management using Node.js, Express, and TypeORM. I would love to contribute to this task. My Approach: Define the Session entity with proper relationships to the User entity, ensuring unique constraints on tokens and timestamps for creation and updates. Create methods to validate session tokens and generate new sessions upon user login, ensuring robust security measures. Implement sessionMiddleware to validate session tokens and attach user data to requests. Handle errors for expired or invalid tokens with proper responses. Write comprehensive unit and integration tests with Jest to ensure all scenarios, including expired and invalid tokens, are covered. Ensure >80% test coverage. Looking forward to your approval and contributing to the project. Thank you! Best regards, |
Hi @KevinLatino
|
I'm a fullstack developer with preference for backends and smart contracts. I've built and collaborated on backends written in Rust and NodeJS, including production grade servers. Here are the step I'll take to tackle this issue.
I'm looking forward to working on this issue. |
I’d like to work on this. |
I am a Full Stack Developer with two years of professional experience, specializing in web3. I have strong background in blockchain and extensive experience in Next.js/React, TypeScript, Cairo and Rust. To solve this, I'll first define session entities using the provided typeORM models, will then implement session service which wil include session token validation and creation of new sessions upto login. ETA is 2days. |
Hello, may I be assigned to this task? I have experience in backend development with TypeScript, TypeORM, and implementing middleware. |
I'd love to work on this! |
Is this issue still available? i understand what needs to be done and can handle it |
Can I take this issue? |
I’d like to help with this, experienced typescript and backend developer, |
May I handle this issue? |
I'd like to take this issue. |
Could I be assigned to this? |
Can I attempt this issue? |
i'm a frontend dev and blockchain dev |
Could I be assigned to this? |
Hi , I am a full stack developer is a versatile professional skilled in both front-end and back-end development, capable of designing user interfaces, building robust server-side applications, and managing databases. |
hey @josephpdf Here is our telegram group, please join https://t.me/starshopcr |
Important
Before applying, please read the Contributors Guide. Following the guide increases your chances of being assigned to this task.
Description Store user sessions in the database and validate them in middleware.
Entity Definition
Middleware Implementation
Tasks
Session
entity in TypeORM.SessionService
with methods to:sessionMiddleware
to validate session tokens and attach user data to requests.Acceptance Criteria
The text was updated successfully, but these errors were encountered: