Git Product home page Git Product logo

floran_pos's Introduction

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

floran_pos's People

Contributors

bhagwanzaki avatar daniyaldolare 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.