Skip to content

๐Ÿ’ณ ๋ฉค๋ฒ„์‹ญ ์‹œ์Šคํ…œ (PHP+Nginx+MySQL)

License

Notifications You must be signed in to change notification settings

jun108059/Membership-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Membership

PHP membership system

It is a Membership system that implements only essential functions!

HTML CSS JS PHP MySQl NGINX

View Demo


Membership Service

img

โš™Setting

๐Ÿ’ก Not Use Web Server Stack Installer Package
Just Download Nginx And PHP And MySQL

  1. NGINX Download

  2. PHP Download

  3. MySQL Download

  4. Modify NGINX configuration file

    • View Setting file
    • modify fastcgi_param SCRIPT_FILENAME ~~
    • In my case, fastcgi_param SCRIPT_FILENAME C:/nginx/html$ fastcgi_script_name;
    • add location / {... index ... index.php;}
  5. Setting php.ini file

    • View Setting file
    • Change php.ini-development file to php.ini
    • Check extension_dir = "C:\nginx\php7\ext" (758 line)
    • Check Dynamic Extensions (910-934 line)
  6. Run php-cgi

    • Run cmd
    • Change directory to php folder
      • In my case, C:\nginx\php7
    • Enter Command : php-cgi -b 127.0.0.1:9000
  7. Execute NGINX Server

    • Run cmd
    • Change directory to NGINX folder
      • In my case, C:\nginx
    • Enter Command : nginx

Can register the php as a service and have it run automatically.


๐Ÿ“‚ Directory structure

MVC
  |-App                             ### MemberShip App
  |  |-Controllers                  ## ๐Ÿ•นControllers
  |  |  |-AdminController.php       # About Admin
  |  |  |-DormantController.php     # About Dormant
  |  |  |-...                       # About Home, Login, etc.
  |  |-Models                       ## ๐Ÿ›ขModels
  |  |  |-Admin.php                 # About Admin
  |  |  |-...                       # About Home, Login, etc.
  |  |-Service                      ## ๐Ÿ“งService
  |  |  |-MailerService.php         # About SendMail,
  |  |  |-...                       # send to Dormant, etc.
  |  |-Views                        ## โœจViews
  |  |  |-Admin                     # About Admin
  |  |  |...                        # About Membership, Error, etc.
  |-Core                            ### MVC System Core
  |  |-Controller.php               # Magic Method call
  |  |-Model.php                    # Connect DB
  |  |-Router.php                   # Parameter Routing
  |  |-View.php                     # Rendering
  |-public                          ### Public Library
  |  |-bootstrap                    # Front css, js
  |  |-css                          # css
  |  |-index.php                    # ๐Ÿ’กFront Controller
  |-vender                          ### Third party
  |  |-composer                     # composer
  |  |-phpmailer                    # for Mail
  |  |-autoload.php                 # autoload
  |-composer.json                   # composer

โœ”๏ธ์‚ฌ์šฉ์ž Section

  • ํšŒ์›๊ฐ€์ž…
  • ๋กœ๊ทธ์ธ + ๋กœ๊ทธ์•„์›ƒ
  • ์•„์ด๋””/๋น„๋ฐ€๋ฒˆํ˜ธ ์ฐพ๊ธฐ
  • ๊ฐœ์ธ์ •๋ณด ์ˆ˜์ •
  • ํšŒ์› ํƒˆํ‡ด
  • โญํœด๋ฉด ๊ณ„์ • ํ•ด์ œ

โœ”๏ธ๊ด€๋ฆฌ์ž Section

  • ๊ด€๋ฆฌ์ž ๋กœ๊ทธ์ธ
  • ํšŒ์› ์ •๋ณด list ๊ฒ€์ƒ‰
  • ์ •๋ณด ์ƒ์„ธ๋ณด๊ธฐ
  • ํšŒ์› ๊ฐ•์ œ ํƒˆํ‡ด

โœ”๏ธ์‚ฌ์šฉ์ž Web page

img

โœ”๏ธ๊ด€๋ฆฌ์ž Web page

img


DB Table ์„ค๊ณ„

img


WBS

Work Breakdown Structure ์ž‘์„ฑ

img


๐ŸŽ‰ ๊ธฐ์ˆ  ์Šคํƒ

img


๐Ÿงฑ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ

  • Windows10
  • Nginx 1.18.0
  • MySQL 5.7.30
  • PHP 7.3.18
  • HeidiSQL 11.0.0
  • PhpStorm 2020.1.2

๐ŸŽˆ ํ•„์š”ํ•œ ๊ณต๋ถ€

โœ” Web ์‹œ์Šคํ…œ


๐Ÿ ๋ชฉํ‘œ

  1. ํ”„๋ ˆ์ž„์›Œํฌ ์—†์ด
  2. ๊ธฐ๋ณธ์ ์ธ ๊ตฌ์กฐ๋ถ€ํ„ฐ ์ดํ•ดํ•˜๊ณ 
  3. ๊ธฐ๋Šฅ๋งŒ ์ž˜ ๊ตฌํ˜„ํ•  ๊ฒƒ
  • ์›น ์‚ฌ์ดํŠธ ๊ณตํ†ต ํ•„์ˆ˜ ๋ชจ๋“ˆ์˜ ๊ฐœ๋ฐœ ๋ฐ ์„ค๊ณ„ ๋Šฅ๋ ฅ ํ–ฅ์ƒ
  • ์„ธ์…˜/์ฟ ํ‚ค์— ๋Œ€ํ•œ ์ดํ•ด
  • ๊ฐœ์ธ์ •๋ณด ์•”ํ˜ธํ™” ๊ธฐ๋ฒ•์— ๋Œ€ํ•œ ์ดํ•ด
  • UI๊ธฐํš + ์„ค๊ณ„, DB ์„ค๊ณ„

About

๐Ÿ’ณ ๋ฉค๋ฒ„์‹ญ ์‹œ์Šคํ…œ (PHP+Nginx+MySQL)

Resources

License

Stars

Watchers

Forks

Packages

No packages published