This project is for navcoin hackathon 2021, and developing with navcoin-js
Navinn is a website for online booking, which is safe, anonymous and untraceable.
Maybe take a while to load, because TypeScript in node_module size is too big(around 50M).
For now it's just for demo, so I only npm run it.
If you use webpack you can speed it up.
Can create CICD to build production env in future.
Navinn: http://139.162.98.187:8080/
Navinn-Wallet: https://139.162.98.187:8082/
Customer should remember their [Payment Key]. It's the key for customer payment, and is your room key when you want to access in yor room.
Instruction:
-
BOOK:
- [navinn > Booking page]: Booking it! (Book date will not avialable to pick if another booked earlier)
- [navinn > Booking page]: Remember your [Payment Key]
- [navinn > Search page]: Search with [Payment Key] for payment details
- [navinn > Search page]: Check all booking info is correct, the booking status would be "UNPAID"
- [navinn > History page]: (Optional)Press refresh button, get hotel's all booking info
-
PAY:
- [navinn-wallet(just for test)/or your personal xNav wallet that can create txn with memo]
- [navinn-wallet(just for test)]: Input paymentKey xNavAmount [navinn-wallet > paymentKey]: [navinn > Search page > Total Amount] [navinn-wallet > xNavAmount]: [[navinn > Search page > Receive Wallet])
- [navinn > Search page]: Back to Search page or History page , and search again, booking status would be "PAID"
- navinn-pms-backend: Hotel Property Management System (backend)
- navinn-pms-frontend: Hotel Property Management System (frontend), and it embeds a wallet for receiving xNav
- navinn-wallet: Simple wallet for customer to send xNav
-
Git clone navinn
-
Run navinn
npm i npm run serve
-
Git clone navinn-pms-backend
-
Install MariaDB
-
Create DB user and DB(navinndb)
-
Create dataBase schema and insert initial data(DDL and initial data is in navinn-pms-backend db folder)
-
mvn clean mvn spring-boot:run
- Short-term goal is for minimum viable product(MVP) demo.
- Long-term goal is to combine hotel property management systems(PMS) to provide integrated service.
- Short-term goal:
- navinn: Entry point for customer booking.
- navinn-wallet: Hardcode wallet info currently
- navinn-pms-backend: Api for fetching txn, room and booking data
- Database(MariaDB): Store txn, room and booking data
- Long-term goal:
- navinn: Entry point for customer booking.
- navinn-wallet: navinn built-in wallet and light-weight wallet for customer to pay xNav txn.
- navinn-pms-frontend: For hotel holder to manage room.
- navinn-pms-backend: Api for navinn and navinn-pms-frontend
- Database(MariaDB): Store txn, room and booking data