Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 866 Bytes

File metadata and controls

46 lines (38 loc) · 866 Bytes

User Permissions CRUD App

This project contains a simple backend (Node.js/Express) and frontend (React) for managing user permissions.

Backend Setup

  1. Go to the backend folder:
    cd backend
    
  2. Install dependencies:
    npm install express cors body-parser
    
  3. Start the server:
    node server.js
    
    The backend will run on http://localhost:4000

Frontend Setup

  1. Go to the frontend folder:
    cd frontend
    
  2. Install dependencies:
    npm install
    npm install axios
    
  3. Start the React app:
    npm start
    
    The frontend will run on http://localhost:3000

Usage

  • 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.