This is a React-based POS (Point of Sale) system that took me hell lot of time to make. It's a modern, full-featured POS that won't make you want to throw your computer out the window... most of the time. π
π‘ Pro Tip (for all you hustling devs out there): There's always a certain breed of developers who dream of quick riches, and POS systems just happen to be the fastest way to turn code into money. Not saying anything... but iykyk. π
Because we all love spending hours setting up projects, here's how to get this bad boy running:
npm install
and pray to the dependency gods πsample.env
to .env
and fill in your Appwrite IDs.Create a new project in Appwrite (the easy part)
Create a database with these collections (here comes the fun):
inventory
: For your precious productssales
: Where the money magic happenspurchases
: For tracking where your money goesexpenses
: For crying about where else your money goesusers
: For those brave souls using your systemEach one of these should have two attributes:
userId
&data
. Don't think too much about itβjust do as I say, and your life will be easy. π
Remember to set permissions for anyone to create, read, update docs in here: (hehe)
Create a storage bucket for profile pictures (because everyone loves a good selfie)
Enable email/password authentication (keep those hackers at bay!)
Integrate a platform:
localhost
for development.https://yourdomain.com
).Update your .env
file with all those lovely IDs.
Now you're ready to run npm run dev
and watch your creation come to life! π
Figma File. Dev mode is turned on.
Don't freak outβthese also include some packages. π
Licensed under MIT, so I won't be responsible if it breaks or someone messes up the database. π