The Admin Panel is designed for managing job and blog posts and handling user messages. It consists of four main pages: All Posts, Create Post, Drafts, and Messages. The tech stack for the admin panel includes React.js and Tailwind CSS.
You can access the live versions of the admin panel and user panel here:
- Admin Panel: Live Preview
- User Panel: Live Preview
- Node.js (v16 or later)
- npm
- Code editor (e.g., Visual Studio Code)
-
Clone the Repository
git clone https://github.com/AvinashKumarMahato/job-portal-admin-panel.git cd job-portal-admin-panel
-
Install Dependencies Run the following command to install all the required packages:
npm install
-
Set Up Environment Variables Create a
.env
file in the root directory and add necessary environment variables (e.g., API keys, backend URL). Example:- VITE_API_BASE_URL=<your-backend-api-url> - VITE_VIEW_WEBSITE_LINK=<frontend-url>
-
Start the Development Server To run the application locally:
npm start
The application will be available at
http://localhost:3000
. -
Build for Production To create an optimized build for production:
npm run build
The build files will be located in the
build
directory.
This page allows you to manage all published job and blog posts.
- Jobs
- Displays all published job posts.
- Actions:
- Edit: Modify existing job posts.
- Delete: Permanently remove job posts.
- Blogs
- Displays all published blog posts.
- Actions:
- Edit: Modify existing blog posts.
- Delete: Permanently remove blog posts.
This page allows you to create and manage draft job and blog posts.
- Jobs
- Create new job posts.
- Options:
- Save to Draft: Save the post as a draft.
- Publish: Make the post publicly available.
- Blogs
- Create new blog posts.
- Options:
- Save to Draft: Save the post as a draft.
- Publish: Make the post publicly available.
This page lists all job and blog posts saved as drafts.
- Jobs
- Displays all draft job posts.
- Actions:
- Edit: Modify draft job posts.
- Delete: Permanently remove draft job posts.
- Blogs
- Displays all draft blog posts.
- Actions:
- Edit: Modify draft blog posts.
- Delete: Permanently remove draft blog posts.
This page displays all messages sent by users via the Contact Us page on the user panel.
- View all received messages.
- Option to delete messages.
- Frontend Framework: React.js
- Styling: Tailwind CSS
- The admin panel is focused on ease of use for managing posts and messages.
- Ensure all changes to posts (edit/delete) are confirmed before saving to avoid accidental data loss.
- Test the panel thoroughly before deploying any updates.
Consider adding the following features:
- Search functionality for posts and messages.
- Filters for job posts and blog posts by category or date.
- Notifications for new messages received.