Giter Club home page Giter Club logo

airbound-website's Introduction

Airbound

This is the public GitHub repository for the Airbound website. It is built using Svelte and styled with Tailwind CSS as well as regular CSS. It also uses supabase to store some data.

Contributing

We are open to all forms of contributions. Fork the repository to get started. The branch names must be descriptive of the contribution being made. To create a new branch, execute the following command in the working directory -

git checkout -b <branch-name>

We use NPM as our package manager so make sure to use npm install to install dependencies.

After, installing dependencies, run the followinf command to spin up a development server -

npm run dev

Environment Variables

As mentioned earlier, we use Supabase to store data. For this the following environment variables must be set -

VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=

To obtain this, you need to create an account with Supabase and then start a new project. Here is a guide - Click the green button saying "Start you project" at the top right corner of the screen -

Start a New Project Button

You will be prompted to login/signup so complete that.

After you are signed in to the dashboard, click the new project button -

New Project Button

When creating a new project, you will be prompted to select an exisitng organization or create a new one. Anything will work. You can name your project anything you want. Make sure to add a secure password to the database password field. Here is what I am doing -

New Project Form

Now you should be able to see some keys, which you can copy and paste into the environment variables (these keys will be different for you) -

Project Dashboard with Keys

The key labeled anon and public under "Project API keys" is your VITE_SUPABASE_ANON_KEY environment variable.

The URL under "Project Configuration" is your VITE_SUPABASE_URL environment variable.

Setting up the database on Supabase

This is an optional step. If you are making changes to the database logic, then only is this needed.

To createa new table. go to the table editor in Supabase studio -

image

We will add a new table and called it email_entries. We are going to leave everything at their defaults, but add one column. This column will be called email and will be of type text

image

That is it, click the save button and done.

airbound-website's People

Contributors

faraaz-baig avatar anishde12020 avatar

Stargazers

Anurag  avatar  avatar

Watchers

 avatar

Forkers

anishde12020

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.