A web portal application with customizable UI elements and user authentication.
- User Authentication (Login/Register)
- Admin Dashboard
- Customizable UI Elements
- Top Bar
- Side Panel
- Main Content Area
- Service Cards
- Profile Management
- Service Categories
- Role-based Access Control
- Clone the repository:
git clone https://github.com/calebkg/sys.re-portal.git
cd sys.re-portal- Install dependencies:
npm install-
Create a
.envfile based on.env.exampleand configure your environment variables. -
Set up the database:
- Create a MySQL database
- Run the SQL scripts in
server/config/schema.sql
- Start the server:
# Development mode
npm run dev
# Production mode
npm startCreate a .env file with the following variables:
DB_HOST=localhost
DB_USER=your_db_user
DB_PASSWORD=your_db_password
DB_NAME=your_db_name
JWT_SECRET=your_jwt_secret
PORT=5000
- POST
/api/auth/register- Register a new user - POST
/api/auth/login- Login user - POST
/api/auth/logout- Logout user
- GET
/api/users/me- Get current user - PUT
/api/users/me- Update current user - GET
/api/users- List all users (admin only)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the ISC License.