Code Monkey home page Code Monkey logo

eczane-otomasyonu-nodejs's Introduction

Pharmacy Automation

Turkish Documentation

THE PROJECT SUMMARY:

Many pharmacies still use the credit system, and people who buy medicine and cannot afford it, make a part of the medicine payment and write the rest as debt, and these can be forgotten by the pharmacists, which is reflected in the pharmacy cash register as a negative balance and a deficit occurs in the cash register.

This system was developed as a solution to this problem, our aim is to keep people who came to the pharmacy and bought their medicine but could not pay their full amount in the system and to reduce the deficit in the pharmacy's safe.

The determining factor here will be the TR Identity Number.

NodeJs was used in the project, and MongoDb was preferred as the database.

Promotion

Watch the video

Packets (NPM)

- bcrypt 
- connect-flash
- connect-mongo
- dotenv
- ejs
- express
- express-session
- http-status
- joi
- method-override
- mongoose
- multer
- qrcode
- rand-token
- nodemon

Start

http://localhost:3000
npm start

Demo

http://eczane-otomasyon.herokuapp.com
Username: demo
Password: demo12345

Database Models

administration.js
api.js
debt.js
medicine.js
pharmacy.js

Controllers

apiController.js
authController.js
debtController.js
medicineController.js
pageController.js

Middlewares

apiMiddleware.js
authMiddleware.js
pendingMiddleware.js
redirectMiddleware.js
roleMiddleware.js

Routes

administrationRoute.js
apiRoute.js
debtRoute.js
medicineRoute.js
pageRoute.js

Register/Login Validation

authValidation.js

About the project

The Express module was used in the project, and the ejs module was used in the template engine. The project was written according to the MVC architecture. Validation processes in the system were provided with joi. The multer library was used to load the drug image. The qrcode library was used for QR operations. bcrypt is used for encryption operations. The mongoose library was used for registration to the MongoDB database as the database. A 32-character alphanumeric token was created for the Rest API, api security was provided by this token, and the rand-token library was used.

From The Project

enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

You can access the mobile design of the project via this link

eczane-otomasyonu-nodejs's People

Contributors

fatihgumus59 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.