GithubHelp home page GithubHelp logo

luismateoh / colombia-travel-level-map Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 550 KB

Map of Colombia

Home Page: https://colombia-travel-level-map.vercel.app

License: GNU General Public License v3.0

JavaScript 2.24% Svelte 84.65% TypeScript 9.92% CSS 0.19% Astro 2.99%
astro colombia departments map svelte

colombia-travel-level-map's Introduction

Colombian Map

Colombian map where you can fill with th departments that you have.

app.png

  1. Clone the repository:

    git clone https://github.com/Porter-smith/astro-firebase-svelte-tailwind-starter.git
  2. Navigate to the project directory:

    cd astro-firebase-svelte-tailwind-starter
  3. Install the dependencies:

    pnpm install
  4. Start the development server:

    pnpm run dev

Quickstart

Follow this guide to quickly set up Firebase for your project. For more in-depth instructions, see FIREBASE_SETUP.md.

Obtain Firebase Keys

Service Account Key

  1. Go to the Firebase Console.
  2. Navigate to Project settings > Service accounts.
  3. Click Generate new private key, then download and secure the JSON file.

Web App Configuration

  1. If you haven't added a web app to Firebase, click the web icon (</>) in Project settings > Your apps to create one.
  2. Find your web app and you should see your configuration
  3. Copy the configuration object.

Update Configuration Files

Place your keys in the appropriate files:

  • .env: Add service account key values from the downloaded JSON.
  • src/firebase/client.ts: Insert the web app configuration object.

Set up .env with Helper Script

To configure your environment variables quickly:

Save your service account creds as service-account.json in the project's root. Run

 node scripts/createEnvFromServiceAccount.js

A .env file with all Firebase variables will be generated. So you don't have to copy and paste one by one each key.

Note: After setting up the .env file, remember to remove the service-account.json from your project's root directory to protect your credentials.

Enable Authentication

Configure Auth Methods

  1. In Firebase Console, go to Authentication.
  2. Click Get started.
  3. Enable your desired sign-in methods and configure each according to Firebase's prompts.

Ready to Go

You should now be able to run your application and use Firebase's authentication services.

๐Ÿš€ Happy coding!

colombia-travel-level-map's People

Contributors

luismateoh avatar porter-smith avatar dependabot[bot] avatar

Watchers

 avatar

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.