{"id":26758178,"url":"https://github.com/zayedshahcode/flexskill-server","last_synced_at":"2026-04-11T12:06:29.261Z","repository":{"id":277948552,"uuid":"934007948","full_name":"ZayedShahcode/FlexSkill-server","owner":"ZayedShahcode","description":"A ExpressJS backend service for the FlexSkill application, providing user authentication, team management, and profile features.","archived":false,"fork":false,"pushed_at":"2025-03-25T14:28:21.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T15:33:24.591Z","etag":null,"topics":["backend","express","fullstack","mern","node","postgres"],"latest_commit_sha":null,"homepage":"https://flexskill.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZayedShahcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-17T05:49:52.000Z","updated_at":"2025-03-25T14:35:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"44235b42-7cef-412a-b7d8-54037e17b45c","html_url":"https://github.com/ZayedShahcode/FlexSkill-server","commit_stats":null,"previous_names":["zayedshahcode/flexskill-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZayedShahcode%2FFlexSkill-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZayedShahcode%2FFlexSkill-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZayedShahcode%2FFlexSkill-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZayedShahcode%2FFlexSkill-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZayedShahcode","download_url":"https://codeload.github.com/ZayedShahcode/FlexSkill-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246059336,"owners_count":20717085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","express","fullstack","mern","node","postgres"],"created_at":"2025-03-28T16:18:39.439Z","updated_at":"2026-04-11T12:06:29.230Z","avatar_url":"https://github.com/ZayedShahcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A ExpressJS backend service for the FlexSkill application, providing user authentication, team management, and profile features.\n\n# FlexSkill Backend\n\n## Tech Stack\n\n- **Node.js** - Runtime environment\n- **Express** - Web framework\n- **Sequelize** - ORM for database operations\n- **PostgreSQL** - Database\n- **bcrypt** - Password hashing\n- **JWT** - Authentication tokens\n\n## Features\n\n- 🔐 User Authentication\n  - Registration\n  - Login/Logout\n  - JWT-based session management\n- 👥 User Management\n  - Profile creation and updates\n  - GitHub profile integration\n  - User search and retrieval\n- 🤝 Team Operations\n  - Team creation\n  - Member management\n  - Team discovery\n- 🔒 Secure password handling\n- 🎯 RESTful API endpoints\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- PostgreSQL\n- npm or yarn\n\n### Installation\n\n1. Clone the repository\n```bash\ngit clone \u003crepository-url\u003e\ncd backend\n```\n\n2. Install dependencies\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Create a `.env` file in the root directory:\n```env\nPORT=4000\nDB_NAME=your_database_name\nDB_USER=your_database_user\nDB_PASSWORD=your_database_password\nDB_HOST=localhost\nJWT_SECRET=your_jwt_secret\n```\n\n4. Start the server\n```bash\nnpm start\n# or\nyarn start\n```\n\nThe server will be running at `http://localhost:4000`\n\n## API Endpoints\n\n### Authentication\n- `POST /sign/new` - Register new user\n- `POST /sign/` - Login user\n- `POST /sign/verify` - Verify JWT token\n- `POST /sign/logout` - Logout user\n- `GET /sign/user/:id` - Get user by ID\n\n### Teams\n- `GET /team` - Get all teams\n- `POST /team` - Create new team\n- `POST /team/join` - Join a team\n- `POST /team/leave` - Leave a team\n- `GET /team/:id` - Get team members\n- `DELETE /team` - Delete a team\n\n### Dashboard\n- `GET /dash/:teamId` - Get team details\n\n## Project Structure\n\n```\nbackend/\n├── controllers/        # Request handlers\n├── middlewares/       # Custom middleware functions\n├── model/            # Database models\n├── routes/           # API routes\n├── utils/            # Helper functions\n├── app.js           # Express app setup\n└── server.js        # Entry point\n```\n\n## Database Schema\n\n### User Model\n- id (Primary Key)\n- username\n- email\n- password (hashed)\n- teamId (Foreign Key)\n- githubProfile\n- createdAt\n- updatedAt\n\n### Team Model\n- id (Primary Key)\n- teamname\n- teamDescription\n- teamsize\n- githubLink\n- details\n- teamLeader\n- leaderName\n- members (Array)\n- createdAt\n- updatedAt\n\n\n\n## Contributing\n\n1. Fork the repository\n2. Create a new branch\n3. Make your changes\n4. Submit a pull request\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzayedshahcode%2Fflexskill-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzayedshahcode%2Fflexskill-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzayedshahcode%2Fflexskill-server/lists"}