Posinet is a comprehensive Point of Sale (POS) system designed to streamline retail and sales processes. The application features user and admin roles, secure authentication, and various functionalities to manage sales, inventory, and user accounts.
Posinet is an advanced POS system tailored for businesses seeking an efficient way to manage transactions and operations. It includes features such as user and admin roles, JWT-based authentication, and a user-friendly interface for seamless interaction.
- User and Admin Roles: Different functionalities based on user roles.
- Secure Authentication: JWT-based authentication with bcrypt password hashing.
- Responsive Design: Mobile-friendly and accessible layout.
- Integration with Backend: Communicates with the backend for data retrieval and submission.
-
Clone the repository:
git clone https://github.com/Susan56789/posinet.git cd posinet
-
Navigate to the frontend directory:
cd frontend
-
Install the dependencies:
npm install
-
Start the frontend development server:
npm run serve
-
Navigate to the backend directory:
cd backend
-
Install the dependencies:
npm install
-
Create a
.env
file in thebackend
directory and add the following environment variables:JWT_SECRET=your_jwt_secret MONGO_URI=your_mongodb_connection_string
-
Start the backend server:
npm start
-
Frontend: Open your browser and navigate to
http://localhost:8080
to access the application. -
Backend: The backend API will be available at
http://localhost:5000
. The API handles authentication, user management, and other server-side logic.
For detailed API documentation, refer to the API Documentation file.
We welcome contributions to Posinet. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Create a pull request with a description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or inquiries, please contact us at:
- Email: [email protected]
- Website: posinet.com
Thank you for using Posinet!