This project contains a simple backend (Node.js/Express) and frontend (React) for managing user permissions.
- Go to the backend folder:
cd backend - Install dependencies:
npm install express cors body-parser - Start the server:
The backend will run on http://localhost:4000
node server.js
- Go to the frontend folder:
cd frontend - Install dependencies:
npm install npm install axios - Start the React app:
The frontend will run on http://localhost:3000
npm start
- List users
- View and update user permissions
- List available permissions
- Grant permissions to users
You can expand this app with authentication, persistent storage, and more features as needed.