+
Skip to content

MiktatMertCento/citizenship.ui

Repository files navigation

Citizenship.UI

This project is a web application for querying and managing citizenship information.

🚀 Features

  • Citizen Query
  • Address Query
  • SMS Sending
  • User Management
  • JWT Based Authentication

🛠️ Technologies Used

  • Frontend Framework: React 18
  • Type Safety: TypeScript
  • State Management: Recoil
  • UI Library: Chakra UI
  • Table Component: AG Grid
  • HTTP Client: Axios
  • Styling: Tailwind CSS
  • Development Environment: Vite
  • Routing: React Router
  • Notifications: React Toastify

📦 Installation

  1. Clone the project:
git clone https://github.com/username/citizenship.ui.git
cd citizenship.ui
  1. Install required packages:
npm install --legacy-peer-deps
  1. Create .env file:
cp .env.example .env
  1. Edit .env file and set the required variables:
VITE_API_BASE_URL=https://api.example.com
VITE_SMS_API_URL=https://sms-api.example.com
VITE_API_PORT=443
VITE_DEV_PORT=9876
  1. Start the application:
npm run dev

🚀 Deployment

To build the project:

npm run build

The compiled files will be created in the dist folder.

📁 Project Structure

src/
├── controllers/     # API requests
├── models/         # Type definitions
├── recoil/         # State management
├── utils/          # Helper functions
└── views/          # UI components
    ├── pages/      # Page components
    └── components/ # General components

🔒 Security

  • JWT tokens are stored in localStorage
  • HTTPS is used for API requests
  • Sensitive information is kept in .env file
  • Rate limiting is applied

🤝 Contributing

  1. Fork this repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push your branch (git push origin feature/amazing-feature)
  5. Create a Pull Request

📝 License

This project is licensed under the MIT License.

📧 Contact

Project Owner - @username

Project Link: https://github.com/username/citizenship.ui

About

Citizen Orientation and SMS Sending Panel for Municipalities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载