Store_UI/admin/distz/api
2022-09-26 11:48:12 +05:30
..
auth finall commit 2022-09-26 11:48:12 +05:30
config finall commit 2022-09-26 11:48:12 +05:30
helper finall commit 2022-09-26 11:48:12 +05:30
migrations finall commit 2022-09-26 11:48:12 +05:30
models finall commit 2022-09-26 11:48:12 +05:30
routes finall commit 2022-09-26 11:48:12 +05:30
sslcert finall commit 2022-09-26 11:48:12 +05:30
uploads finall commit 2022-09-26 11:48:12 +05:30
.env finall commit 2022-09-26 11:48:12 +05:30
index.html finall commit 2022-09-26 11:48:12 +05:30
index.js finall commit 2022-09-26 11:48:12 +05:30
package-lock.json finall commit 2022-09-26 11:48:12 +05:30
package.json finall commit 2022-09-26 11:48:12 +05:30
readme finall commit 2022-09-26 11:48:12 +05:30
zindex.js finall commit 2022-09-26 11:48:12 +05:30

// INSTALLLATION
=>  Initiate NPM
=>  Install express for local PORT
=>  Install nodemon to run our application
=>  install body-parser in order to get access to the post data,
    which allows express to read the body and then parse that into a Json object that we can understand

=>  Install MySQL2
=>  Install sequelize cli and init sequelize
=>  Include .env file
=>  Install dotenv and import in index
=>  Install multer for image upload

------------------------------
            API LIST
------------------------------

1. USERS - CRUD
    GET - LIST  -
    POST- ADD   -
    GET - VIEW  -
    PUT - EDIT  -
    PUT - DEL   -

2. MEDICINE - CRUD
    GET - LIST  -
    POST- ADD   -
    GET - VIEW  -
    PUT - EDIT  -
    PUT - DEL   -

3. COMPANY - CRUD
    GET - LIST  -
    POST- ADD   -
    GET - VIEW  -
    PUT - EDIT  -
    PUT - DEL   -

4. SUBSCRIPTION - CRUD
    GET - LIST  -
    POST- ADD   -
    GET - VIEW  -
    PUT - EDIT  -
    PUT - DEL   -

5. LOGIN 
     POST- LOGIN