BimeYaran-React-MySQL
is a refreshed reboot and clone of Bime Iran
. Front-End is created with
React
and modern UI libraries. There is a dashboard
for users, admins, managers and owner with
different access grants. Back-End is working with a NodeJS
server connected to a MySQL
database.
π§Ύ React app is located in client
directory. React app will run on localhost:5173
with vite
which makes it completely separated from Back-End.
π§Ύ Back-End server runs on localhost:3001
.
π§Ύ A MySQL server must be running on localhost:3306
which is default MySQL server.
π§Ύ Users
can sign up or login to dashboard, but they are not treated as Clients
until
they order an insurance package and pass extra information about themselves.
π§Ύ Insurance packages in BimeYaran are: Health, Vehicle, Fire.
π§Ύ Clients
can request a repay
for an active insurance. repays must be accepted by admins
or managers
.
π§Ύ Contract
is an activated insurance package that is valid to a date and has a Transaction
.
π§Ύ Each insurance contract will insert into its own unique table.
π§Ύ Each insurance contract and Employee
has a unique branch
ID.
Run this commands in respectively in your terminal. \
MySQL
service is running on port localhost:3306
CREATE DATABASE bime_yaran;
quit
```shell
git clone https://github.com/mohammadnedaei/BimeYaran-React-MySQL.git
cd BimeYaran-React-MySQL && cd server && npm i && nodemon ./index.js
cd client && npm i & npm run dev
bime_yaran.sql
SQL dump file with any DB manager like DataGrip
, MySQL management
, HeidiSQL
, phpMyAdmin
or etc...use bime_yaran;
source path_to_sql_file.sql;
β
Tailwind UI
β
Material UI
β
Axios
β
React Router
β
React Hooks
β
MySQL Database
β
Normalized Database (3NF)
β
Foreign Keys and Primary Keys Specified
β
Based on true and online website (Bime Iran)
Feel free to fork this repo and make pull requests.
You can learn more about React
here
π§ Code factor & code quality tools improvements
π Add Shortcuts in manifest \
Mohammad Nedaei
Discord: Mohammad81#3277