Code Monkey home page Code Monkey logo

native-land-web-client's Introduction

Native Land Web 2.0 (Client)

This is a new version of Native Land Digital's web app, meant to replace the current WordPress & Mapster frontend.

Built with:

Project Status

(Updated 1/8/24)

Currently we are working on our Open Source Debut milestone.

In this milestone, we're implementing measures to ensure code quality, including:

  • Testing
  • GitHub Actions / CI
  • Accessibility
  • Creating & Implementing Linting Standards:
    • Prettier
    • ESLint
    • CSS
    • a11y

If you'd like to join us in contributing to these goals, welcome! Please get in touch with us on Native Land Digital's Slack.

We are not yet reviewing or merging pull requests that are outside of the scope of this milestone.

Dev Setup

Note that server and client are decoupled and in separate repos.

  1. Create a native-land-web root folder to hold both client and server folders.
  2. Run git clone to copy this repo (native-land-web-client) into root.
  3. Run git clone to copy native-land-web-server into root.
  4. Run yarn in both folders to install dependencies.
  5. Reach out to Native Land staff on Slack (ping @Will Gutierrez) to get access to dev materials:
    • Mapbox development token, which goes into an .env.local file in client as VITE_MAPBOX_TOKEN
    • sample SQL inserts
  6. Create a PostgreSQL server with a native_land_digital database, and insert SQL.
  7. Fill out a .env file to connect native-land-web-server to database.
  8. cd native-land-web-client and yarn dev to start both client and server at the same time.
  9. Navigate to localhost:5173 in your browser.

Data Flow Diagram

This is a diagram of how the data flows within the app, and interacts with both the server and Native Land's Mapbox account (which is the source of truth for the front page map):

Native Land React Dataflow

Note that these two flows are distinct from and don't depend on one another:

  1. User viewing (reading) features from the map - (the goal of this first iteration of the new frontend)
  2. Researchers creating, updating, and deleting features - (to be tackled in a different milestone after the new frontend goes live)

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.