Skip to content

Pancaananda/Backend-POS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for Backend POS System

Overview

This is the backend for a Point of Sale (POS) system built using Express or Hapi. It provides functionalities for user authentication, product management, and order processing, with data stored in Firestore.

Features

  • User authentication (login and registration)
  • Product management (CRUD operations)
  • Order processing
  • Middleware for authentication checks
  • Configured for deployment on Google Cloud App Engine

Project Structure

pos-system
├── backend
│   ├── src
│   │   ├── app.ts
│   │   ├── config
│   │   │   ├── firebase.ts
│   │   │   └── auth.ts
│   │   ├── controllers
│   │   │   ├── authController.ts
│   │   │   ├── productController.ts
│   │   │   ├── orderController.ts
│   │   │   └── userController.ts
│   │   ├── middleware
│   │   │   └── authMiddleware.ts
│   │   ├── routes
│   │   │   ├── authRoutes.ts
│   │   │   ├── productRoutes.ts
│   │   │   ├── orderRoutes.ts
│   │   │   └── userRoutes.ts
│   │   └── types
│   │       └── index.ts
│   ├── app.yaml
│   ├── package.json
│   ├── tsconfig.json
│   └── README.md

Getting Started

  1. Clone the repository.
  2. Navigate to the backend directory.
  3. Install dependencies using npm install.
  4. Set up Firebase configuration in src/config/firebase.ts.
  5. Run the application using npm start.

Deployment

To deploy the backend to Google Cloud App Engine, ensure that the app.yaml file is correctly configured and run the deployment command.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published