- IONIC
- TypeScript
- Anuglar.js
- Cordova
- NPM
- JavaScript
- Firestore You need an account here and set up before test application
- Create an account on Firestore , then add a new project and then go to a symbol like this '</>', click there and get the api key, and make a file inside 'env' folder called 'env.ts' and paste the key inside there like this:
export default {
apiKey: "-----------------------------------",
authDomain: "-----------------------------------",
databaseURL: "-----------------------------------",
projectId: "-----------------------------------",
storageBucket: "-----------------------------------",
messagingSenderId: "-----------------------------------"
};
- You also need to set up firestore database, not realtime database
- Enable SignIN method with email and password
- Login system
- Register system with email verification
- Reset password system
- Feed page where all books is listed
- Add new book for sale
- Simple chat system between buyer/seller
- Profile page with log out button and 'My Ads' with all active book sales and inactive when book is sold
- Mark book as sold or delete book
- Camera functionality to add picture from camera or gallery
- Barcode scanner to scan ISBN numbers
- Connected to Google Book Api, when scanned with barcode , then it will retrive information from API based on ISBN number
-
Clone repo
-
Insert an api key in /src/index.html, see below
< script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY" async defer></> -
Add also a new file named 'apiKeys.ts' and save that file into -> src/env/apiKeys.ts and insert -> see blow
export default {
GOOGLE_API_KEY: "YOUR_API_KEY"
} -
Now run this command inside project root from terminal -> npm install <- to install dependencies