Coder Social home page Coder Social logo

mywebapp's Introduction

POS

POSView is a web application built using the MERN stack, which includes MongoDB, Express, React, and Node.js. This application is designed to serve as a point of sale (POS) system, allowing users to manage products, customers, and sales.

Project View

  • Homepage

img-name

  • Bills

img-name

  • Items

img-name

  • Add New Item

img-name

  • Customers

img-name

  • Cart

img-name

  • Invoice

img-name

Installation

  • Clone the project from the GitHub repository:

     git clone https://github.com/OviSarkar62/POSView.git
    
  • Navigate to the project directory:

     cd POSView
    
  • Install the dependencies for the server:

     npm install express dotenv cors colors body-parser bcrypt joi mongoose morgan nodemon zxcvbn
    
  • Navigate to the client directory:

     cd client
    
  • Install the dependencies for the client:

     npm install react-router-dom react-redux redux redux-thunk axios antd 
    
  • Create a .env file in the root directory with the following environment variables:

     DB_URL = mongodb+srv://<user>:<pass>@cluster0.l17quyr.mongodb.net/database
    
     SALT_ROUNDS = 10
    
  • Start the server:

     node index.js
    
  • In a new terminal window, navigate to the client directory:

     cd client
    
  • Start the client:

     npm start
    
  • Access the application. Open your web browser and visit http://localhost:3000 to access the application.

Client-side functionality

The client-side of the application is built with React. The user interface provides the following functionality:

  • View a list of all products, customers, and sales
  • Create a new product, customer, or sale
  • Edit an existing product, customer, or sale
  • Delete a product, customer, or sale

The client utilizes Axios to make HTTP requests to the server-side API.

Stack

  • MongoDB - NoSQL database for storing data
  • Express - Backend framework for building RESTful APIs
  • React - Frontend framework for building user interfaces
  • Node.js - JavaScript runtime environment for building scalable server-side applications
  • Bcrypt - Password hashing library for secure password storage

Live Link

The live project: POSView

mywebapp's People

Contributors

naeem1145 avatar

Watchers

 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.