A simple Human Resource Management (HRM) system built with:
- Frontend: ReactJS (TypeScript)
- Backend: Node.js with ExpressJS (TypeScript)
- Database: MongoDB
- Add new employees
- View a list of all employees
- Search for employees by ID
- Edit employee details
- Delete employees
- Upload employee observation report in excel format
- Export employee details into excel
- Handles API requests and CRUD operations for employee data.
- Uses MongoDB as the database.
- Provides a user-friendly interface for interacting with the HRM system.
git clone https://github.com/randyharrogates/hrm.git
cd hrm
cd backend
npm install
Create a .env file in the backend folder with the following:
MONGO_URI=mongodb://127.0.0.1:27017/hrm
PORT=5000
Run the backend
npx ts-node-dev src/server.ts
cd frontend
npm install
Run the frontend
npm start
- Open your browser and visit
http://localhost:3000
. - Use the interface to add, view, edit, and search for employees.
- Node.js
- ExpressJS
- TypeScript
- MongoDB
- ReactJS
- TypeScript
- Axios
- React Router
MONGO_URI=mongodb://127.0.0.1:27017/hrm
PORT=5000
docker-compose up --build -d