Video introduction link:https://livelancsac-my.sharepoint.com/:v:/g/personal/chengy28_lancaster_ac_uk/EZsRxhNyWMhLtVJhubMi3AEByyvbBYFkcZnxhQpIu1Q5aQ
This project is an enterprise employee management system that includes features such as login authentication, employee information management, log recording, email broadcasting, and database backup. It leverages multiple backend and frontend technologies to provide a comprehensive and user-friendly enterprise management solution.
- Enterprise Employee Management System
-
Backend Technologies:
- Go: User authentication and logging API
- Django: Employee and department management API
- C++ (Crow): Database backup service
- Express.js: Email broadcasting service
-
Frontend Technologies:
- React: Building the user interface
- Axios: HTTP client for making API requests
- Semi Design: UI components library
- Install Go: Follow the instructions here.
- Install Python: Follow the instructions here.
- Install Node.js and npm: Follow the instructions here.
- Install C++ Compiler: Ensure you have a C++ compiler installed. For MacOS, you can use
clang
, and for Windows, you can useMinGW
. - Install Docker: Follow the instructions here.
whole project
git clone https://github.com/lzpmpc005/TalentElite
cd TalentElite
cd backend/go-auth
go mod tidy
go build
cd backend/django
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
setting Crow library first https://github.com/CrowCpp/Crow
cd CROW
mkdir build
cd build
cmake ..
make install
cd backend/cpp-backup
mkdir build
cd build
cmake ..
make
./cpp-backup
cd backend/express-email
npm install
cd frontend
npm install
cd backend/go-auth
go run main.go
cd backend/django
source env/bin/activate
python manage.py runserver
cd backend/cpp-backup/build
./cpp-backup
cd backend/express-email
node server.js
cd frontend
npm start
- backend/
- go-auth/ // Go authentication and logging service
- main.go
- django/ // Django backend service
- manage.py
- hrm/
- models.py
- views.py
- urls.py
- settings.py
- cpp-backup/ // C++ backup service
- main.cpp
- CMakeLists.txt
- express-email/ // Express.js email broadcasting service
- server.js
- package.json
- go-auth/ // Go authentication and logging service
- frontend/
- src/
- components/
- LoginComponent.js
- EmployeeListComponent.js
- LogComponent.js
- EmailComponent.js
- App.js
- index.js
- components/
- src/
Ensure that all backend services are running before starting the frontend application. The Go Auth Service handles user authentication and token generation. The Django Backend manages employee and department data. The C++ Backup Service periodically backs up the database. The Express Email Service handles email broadcasting to all employees. The frontend interacts with these services to provide a seamless user experience. This project leverages the combined power of multiple backend and frontend technologies to deliver a robust and comprehensive enterprise management solution.