Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddyoliveiram/job-vacancy-management-app
I developed this job vacancy management system using React/Next.js, Material-UI and MongoDB. It allows you to add, edit, delete, and list job openings, with support for pagination and file uploads for resumes (PDF/Word).
https://github.com/eddyoliveiram/job-vacancy-management-app
fullstack mongodb nextjs rest-api
Last synced: 15 days ago
JSON representation
I developed this job vacancy management system using React/Next.js, Material-UI and MongoDB. It allows you to add, edit, delete, and list job openings, with support for pagination and file uploads for resumes (PDF/Word).
- Host: GitHub
- URL: https://github.com/eddyoliveiram/job-vacancy-management-app
- Owner: eddyoliveiram
- Created: 2024-09-17T02:07:28.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-29T17:12:02.000Z (5 months ago)
- Last Synced: 2024-10-15T12:09:41.426Z (4 months ago)
- Topics: fullstack, mongodb, nextjs, rest-api
- Language: JavaScript
- Homepage:
- Size: 739 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Job Vacancy Management System
This is a **job vacancy management system** built using **React/Next.js**, **Material-UI** and **MongoDB** . The system allows users to manage job openings by adding, editing, deleting, and listing vacancies. It also supports **pagination** and **file uploads** for resumes in **PDF/Word** formats.
## Features
- Add, edit, delete, and list job vacancies
- Pagination for better data management
- Upload files (PDF/Word) for resumes
- Data persistence with MongoDB
- API endpoints for job vacancy management
- UI built with **Material-UI (MUI)** for a modern and responsive interface## Prerequisites
Before running the project, ensure that you have the following installed:
- Node.js
- MongoDB
- Yarn or npm## Getting Started
### 1. Clone the repository
```bash
git clone https://github.com/your-username/job-vacancy-management-system.git
cd job-vacancy-management-system
```### 2. Install dependencies
```bash
npm install
```### 3. Configure environment variables
Create a `.env` file in the root directory with the following content:
```
MONGODB_URI=mongodb://127.0.0.1:27017/gerenciamentoVagas
```### 4. Run the application
To start the development server, run:
```bash
yarn dev
```or
```bash
npm run dev
```### 5. Running MongoDB Migrations
This system uses **migrate-mongo** for managing MongoDB migrations. Before running the migrations, make sure MongoDB is running locally.
To run the MongoDB migration, execute the following command:
```bash
migrate-mongo up
```This command will:
- Drop the existing `gerenciamentoVagas` database (if it exists)
- Create the `vagas` collection with the appropriate indexTo revert the migration, you can run:
```bash
migrate-mongo down
```## API Endpoints
- `GET /api/vagas`: List all job vacancies with pagination.
- `POST /api/vagas`: Create a new job vacancy.
- `PUT /api/vagas/[id]`: Update an existing job vacancy.
- `DELETE /api/vagas/[id]`: Delete a job vacancy.## License
This project is licensed under the MIT License.