Giter Site home page Giter Site logo

basarevych / next-dashboard Goto Github PK

View Code? Open in Web Editor NEW
66.0 3.0 17.0 36 MB

A complete React/Redux/Relay/Next.js dashboard example

Home Page: https://dashboard.daemon-notes.com

License: MIT License

JavaScript 100.00%
reactjs nextjs nodejs dashboard redux relay-modern graphql

next-dashboard's Introduction

Next™ React™ Dashboard

A complete React/Redux/Relay/Next.js dashboard example with perfect benchmarks using Material UI and friends.

https://dashboard.daemon-notes.com

Dark Theme

Light Theme

Highlights

  • React with Hooks, Redux, Immutable, Thunk, Reselect, etc.

  • GraphQL with subscriptions using React Relay Modern (not Apollo)

  • Next.js with Webpack and Babel doing cached Server-Side Rendering (SSR) on an Express.js backend with Redis and MongoDB via Mongoose

  • Material UI with custom dark and light themes

  • Formik for forms with Yup for validation, including the server-side validation: Yup is integrated into Mongoose Model validation and uses the same schema files just like the front-end.

  • Internationalization using React Intl (Format.js) which supports ICU message syntax

  • Email/password or Twitter/Google/Facebook authorization using Passport.js

  • Additionally: MapboxGL and DeckGL, D3 and Victory charts, React Virtualized, etc.

  • Caching service worker from Google Workbox

  • Modular "ducks" project structure with Dependency Injection Container

Architecture

This project is comprised of 4 servers:

  • MongoDB for the data

  • Redis for the cache and PubSub

  • One or more API Servers: api-server/

    These are serving API requests from the browser and the Front Server. Access to MongoDB and to Redis is required.

  • Optionally, one or more Front Servers: web-client/ssr-server

    These are doing (cached) SSR for the user. The public domain name of the site is pointing to this server.

    Only access to Redis is required.

    If you don't need SSR you could also switch to static site mode, in which case you don't need Front Servers at all (any http server, like nginx, could serve the static files)

NOTE Please make sure both Mongo and Redis is password protected or not accessible from the public network

next-dashboard's People

Contributors

basarevych avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

next-dashboard's Issues

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.