collins-droid / Floran_POS

Floran POS is an ERP solution for Hotel and lounge to manage their business from any device instead of buying POS System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Floran_POS

Introduction

Floran POS is an ERP solution for Hotel and lounge to manage their business from any device instead of buying POS System

Feature Available once ready

  1. Inventory management
  2. Kitchen and restrauant management and service system
  3. Business Intellegence
  4. Hotel management
  5. Easy overall bill genearate for customer
  6. Staff Management
  7. Restaurant Management
  8. Multiple POS system
  9. Security

Requirement

Python v.3.8+
Node.JS

Setup

Clone Repository

create virtual env

    pip install virtualenvwrapper-win
    mkvirtualenv reactdj

for linux use this command

    apt-get install python3-venv  
    python3 -m venv reactdj

To activate environment

    workon reactdj

To activate environment in linux

    source reactdj/bin/activate

Copy Paste the following commands to clone the repo

    https://github.com/Floran-Github/Floran_POS.git

To run backend django rest framework

Go inside the floran_pos_backend directory and install the module from requirements.txt

  cd floran_pos_backend
  pip install -r requirements.txt

Then make the migrations and then migrate the database

   python manage.py makemigrations
   python manage.py migrate

Create the superuser

  python manage.py createsuperuser

Now run the django server on your local network instead of localhost for react to communicate

  python manage.py runserver 0.0.0.0:8000

Now you goto localhost:8000 to see the API

    http://127.0.0.1:8000/api/auth

To run frontend react

Now Open the new terminal or CMD and then direct to floran_pos_frontend folder inside the clone directory to run react server

Go inside the floran_pos_frontend directory and install the library

  cd floran_pos_frontend
  npm install

FOR REACT TO COMMUNICATE WITH DJANGO YOU NEED TO WRITE YOUR IP ADDRESS IN /floran_pos_frontend/src/actions/types.js

ipconfig

NOW IN LINE NUMBER 34 OF /floran_pos_frontend/src/actions/types.js

REPLACE
export const BASE_URL = 'http://192.168.0.179:8000/'
WITH
export const BASE_URL = 'http://<YOUR_IP_ADDRESS>:8000/'

Now Run the script to run react server on your local network

  npm run server

If above give webpack Permission Denied error in linux, then run this command

  npm install --save-dev webpack
  npm run server

Now you goto localhost:3000 to see the website

    http://127.0.0.1:3000/

Note

Here is the admin login id
user:- floranadmin
password:- adminadmin

TO ACCESS ADMIN PANEL MAKE SURE TO OPEN IT IN INCOGNITO WINDOW

Stage

Developement stage

Sponsor by

Master Computer Enterprise

About

Floran POS is an ERP solution for Hotel and lounge to manage their business from any device instead of buying POS System


Languages

Language:JavaScript 67.2%Language:Python 28.1%Language:CSS 3.6%Language:HTML 1.1%Language:Batchfile 0.0%