Git Product home page Git Product logo

world-traffic-light's Introduction

This workspace has been generated by Nx, Smart Monorepos · Fast CI.

Getting started

Run npm install before first start.

Run nx dev to start the development server. Happy coding!

Run nx build to build the application. The build artifacts are stored in the output directory (e.g. dist/ or build/), ready to be deployed.

Repo notes

Main stack

Folder structure

libs (components and functions)
├── app (feature components)
├── hooks
├── shared (ui components)
└── utils (shared functions and data)
src (root for App Router)
└── app
    ├── api (endpoints)
    ├── app (app screen)
    └── login (login screen)

Code notes

  • When logging in, username is stored as a cookie on the server.
  • Pages and routes are organized via the App Router structure (nextjs 13+).
  • Users can only edit and delete their own posts. This is checked against the user's username, and enforced by not showing the necessary ui elements.
  • Click on any country to see its product/country score (defaults to 50).
  • Toggle through the products at the bottom of the map screen or from the dropdown in the score modal.

More from NX

Explore CI!

Nx comes with local caching already built-in (check your nx.json). On CI you might want to go a step further.

Explore the project graph

Run npx nx graph to show the graph of the workspace. It will show tasks that you can run with Nx.

Connect with us!

world-traffic-light's People

Contributors

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