Flex is an insurance project that can help you get cashbacks if you spend money and have been covered for a minimum of 90 days.
The technologies used this far:
- HTML
- JavaScript
- Node.js 16.13 or later
- Git
- GitHub
- Xata
- Cloudinary
- Knockout.js
- Linux OS
- Text Editor (Visual Studio Code)
- Linux Terminal
- Create a Xata account (request for beta)
- On the Xata Web Interface, create a workspace
- Create a database
- Create a table
- Add data (optional)
- Install the Xata CLI globally (requires Node.js 16.13 or later)
- Create a Xata client to query your database
- authenticate globally
- authenticate based on your project (database). I chose the 'Install the Javascript SDK only, with no code generation'
- create a fallback branch, like the development branch
- create .gitignore and .env files
- you can now access Xata commands
- Set up your Node.js runtime to read your API key
- install dotenv
- add code to access your API key from your .env file (add a variable with process.env)
- Query the database - use the Xata web interface to generate queries (I used Javascript and Fetch)
If you would like to contribute to this project,feel free.