This project is developed to practise on MERN stack.
- Node.js
- Express
- MongoDb
- Mongoose
- JWT
- Swagger
- Winston
- React
- Tailwind CSS
- DaisyUI
- React Hook Forms
- React-i18Next
- Register and Login user.
- Making staff releated CRUD operations.
- Adding, updating and deleting staff image.
- Listing staffs.
- Searching staff by first name, last name and department.
- Sorting list by First Name, Last Name, Department and Create Date.
- Turkish and English language support.
Staff names is not real names. They were randomly generated.
To build and run project:
-
Clone project
$ git clone https://github.com/erhantuncel/Staff-Management-System-MERN.git
-
Generate
.envfile withenvFileGenerator.jsBefore generate
.envfile, you should get a Cloudinary API key. If you don't set Cloudinary API key, you can not save and update Staff with image.$ cd Staff-Management-System-MERN $ node envFileGenerator.js -
Run project with
docker-compose$ docker-compose up
- You can access login page on http://localhost:5173
- You can access api endpoints from http://localhost:5000/api-docs