Skip to content

AgnesNM/HackMamba

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Flex

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.

31st October 2022

Technologies

The technologies used this far:

  • HTML
  • JavaScript
  • Node.js 16.13 or later
  • Git
  • GitHub
  • Xata
  • Cloudinary
  • Knockout.js

Environment

  • Linux OS
  • Text Editor (Visual Studio Code)
  • Linux Terminal

Project Set Up

  • 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)

Contribution

If you would like to contribute to this project,feel free.

Deployment on Netlify

App on Netlify

License: MIT

About

A simple healthcare project for the HackMamba Content Hackathon 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published