This project is a full-stack application with a backend built using Node.js, Express, and MongoDB, and a frontend built using React and Vite. The application provides a platform for users to manage their professional network, generate LinkedIn posts, and access a resource library.
Backend/
├── .env
├── .gitignore
├── package.json
├── server.js
└── src/
├── middleware/
│ └── auth.js
├── models/
│ ├── Sessions.js
│ └── User.js
├── routes/
│ └── ...
└── tests/
└── ...
Frontend/
├── .bolt/
│ └── config.json
├── .env
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── postcss.config.js
├── src/
│ ├── App.jsx
│ ├── components/
│ ├── contexts/
│ ├── hooks/
│ ├── index.css
│ ├── main.jsx
│ ├── pages/
│ ├── services/
│ └── utils/
├── tailwind.config.js
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.js
└── vite.config.ts
-
Navigate to the Backend directory:
cd Backend -
Install dependencies:
npm install
-
Start the server:
node server.js
server.js: Main server file that sets up Express, connects to MongoDB, and defines routes.src/models/User.js: Mongoose model for user data.src/models/Sessions.js: Mongoose model for session data.src/middleware/auth.js: Middleware for authentication.src/routes/: Directory containing route definitions.
-
Navigate to the Frontend directory:
cd Frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
src/App.jsx: Main application component.src/pages/CoachDashboard.jsx: Component for the coach dashboard.src/components/student/PostTemplate.jsx: Component for selecting post templates.src/components/coach/ResourceLibrary.jsx: Component for the resource library.src/services/networkService.ts: Service for fetching network analytics.src/utils/hashtagGenerator.ts: Utility for generating hashtags.
npm start: Start the backend server.
npm run dev: Start the frontend development server.npm run build: Build the frontend for production.npm run lint: Run ESLint to check for linting errors.npm run preview: Preview the production build.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
For any questions or inquiries, please contact abdulrafayoc@gmail.com or sumeedkanwar@gmail.com.