GithubHelp home page GithubHelp logo

e11i0t23 / mapit Goto Github PK

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

A custom google map builder and styler, utilising firebase for auth and storage.

Home Page: https://mapit.elliot-powell.com

JavaScript 2.43% TypeScript 91.48% CSS 6.10%

mapit's Introduction

Mapit

A custom google maps builder using the google maps javascdript api, for creating styled maps which can then be downloaded using the google maps static api. This App is a client only app therefore making use of firebase authentication and firestore for all backend functions.

Running the application

Development

To start this app first environmental variables will need to be setup in a .env.local file (see environment.d.ts for detail), when running in dev this app also makes use of firebase emulators.

Initialise Firebase with:

firebase init

Run the Emulators with:

firebase emulators:start

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Production

After setting environmental variables, build the app with:

npm run build

Languages, Frameworks, and Tools Used

File Tree and Overview

├── README.md
├── environmnet.d.ts # Type Definitions for environmental variables
├── firebase.json
├── firestore.indexes.json
├── firestore.rules # Rules for firestore, must manually be set on firebase console
├── lib
│   ├── firebase.ts # Utility fucntions for initialising firebase
│   └── styles.ts # Simple export of the styles, features and elements the app suports
├── mapit.d.ts # Type definitons for the project
├── next-env.d.ts
├── next.config.js
├── package-lock.json
├── package.json
├── pages
│   ├── _app.tsx
│   ├── _document.tsx
│   ├── components
│   │   ├── CurveMarker.tsx # A Component to produce pretty arcs
│   │   ├── Header.tsx # The websites headers
│   │   ├── Map.tsx # The Map function rendering the map container
│   │   ├── MarkerAdder.tsx # The marker adjust sidebar
│   │   ├── Markers.tsx # A utility component to convert our markers array into a jsx elements array
│   │   └── Styles.tsx # The styles adjust sidebar component
│   └── index.tsx # The main entry page for the app
├── public
│   ├── favicon.ico
│   ├── next.svg
│   ├── thirteen.svg
│   └── vercel.svg
├── styles
│   ├── Home.module.css
│   ├── Styles.module.css
│   └── globals.css
└── tsconfig.json

mapit's People

Contributors

e11i0t23 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.