A simple user management application written using React, Node.js, Express, TypeScript, Vite and MongoDB.
- Client:
http://localhost:3000
- Server:
http://localhost:9000
- Run
npm install
in both the/server
and/client
directories to install all of the necessary dependencies. - Duplicate the
.env.example
file in both the/server
and/client
directories. - In
/server/.env
, set theMONGO_DB_URI
variable to your MongoDB connection URI. - In
/client/.env
, set theREACT_APP_BACKEND_URL
variable to the base URL of your back-end.
- Boot up the back-end by running
npm run dev
in the/server
directory. - Boot up the front-end by running
npm run dev
in the/client
directory.
- Postman Workspace
- Live Application [TBD]
- Implemented the
/assign/:id
page, to segregate modifying permissions to another page. - Implemented paging for the
GET /users
endpoint. - Added missing
Status
field in the Edit Employee modal. - Implemented sorting to the
EmployeesTable
component. - Implemented filtering for the
GET /users
endpoint. - Fixed the page counter bug.
- Time: Saturday, June 4th, 2022 at 11:40 PM
- Commit Hash:
5b78cf7c1a31e6d1839de269f941afc4ad90feb2