Giter Site home page Giter Site logo

lms-react's Introduction

Extra Ordinary Learning Management System

The purpose of this project is to demonstrate a working but minimal site using:

  • Next.js, a full stack for building production grade React web applications.
  • mui.com, a React implementation of the Material Design system.
  • Google Firebase, a paid service from Google that supports static file hosting, authentication infrastructure, and realtime databases for saving application state.
  • Google Search Console, a tool for checking your site's presence in Google Search

The expectation is to create your own project by copying parts of this project, not use this project verbatim.

The project implements a simple learning management system. You can create a list of courses with lesson pages. If the user logs on with Google authentication, they can save their progress. The site is normally live at extra-ordinary-lms.web.app (a Firebase hosting site).

Getting Started

  • Go to the Google Firebase console and create your own account and project.
  • Update the helpers/firebaseConfig.js file with the keys for your project.
  • Delete and replace the google8cea660adcba132b.html file with your own Google Search Console verification file.
  • Change all references to extra-ordinary-lms to your own project name.
  • For development: npm run dev and open http://localhost:3000.
  • For production: npm run build && firebase deploy to build a static version of this site and deploy it.

React + Material UI + Static Site generation

The reason this project uses Next.js is because it provides great tools for generating static sites. Static sites do not need a Node.js web server behind them in production, making Google Firebase Hosting a great option. (Okay! I work at Google! I may be biased!)

The other thing I like about static site hosting is they are generally fast for page loading, but also very secure. There is no backend Node.js server logic to attack. Its just static files on disk. You can attack your portion of the Firebase database (the part associated with your user id), but that is it. So you can build a good looking custom web site, with simple database persistence, with almost no ongoing maintenance required.

If you are doing a serious production project, you probably want to think about backup and recovery strategies. This project is just remembering which lessons a user has completed. If its lost, sorry!

If you want a bit of fun, open up two browser windows. Updating a lesson status in one window will immediately update the status in the other window! This is done through the firebase realtime database automatic synchronization support.

Learn More

To learn more about Next.js, take a look at the following resources:

To learn more about structured data and site maps:

To set up Google Firebase via the console:

lms-react's People

Contributors

alankent avatar

Stargazers

 avatar

Watchers

Martin Splitt avatar  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.