This is the admin website for Unity School, allowing administrators to manage news and user accounts.
- User Authentication
- News Management (Create, Read, Update, Delete)
- Modern Material UI Design
- Responsive Layout
- Firebase Integration
- Node.js (v14 or higher)
- npm or yarn
- Firebase project
- Install dependencies:
npm install-
Configure Firebase:
- Create a new Firebase project at https://console.firebase.google.com
- Enable Authentication and Firestore
- Copy your Firebase config from Project Settings
- Update the config in
src/firebase.js
-
Start the development server:
npm startsrc/
├── components/ # Reusable UI components
├── pages/ # Page components
├── services/ # Services (Auth, etc.)
├── styles/ # CSS and styling
├── utils/ # Utility functions
├── App.js # Main app component
└── firebase.js # Firebase configuration
npm start: Runs the app in development modenpm build: Builds the app for productionnpm test: Runs the test suitenpm eject: Ejects from create-react-app
- Authentication is required for all admin functions
- Firestore security rules should be configured to restrict access
- API keys and sensitive data should be stored in environment variables
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request