Giter Club home page Giter Club logo

infoscreen's Introduction

Project Summary: Infoscreen

Infoscreen is a web application built with React and TypeScript on the frontend and Node.js on the backend. It displays a list of users, events, and the current temperature with a weather icon. The application features an admin page that allows adding users and events.

Features

  • Display user list fetched from the backend
  • Display event list fetched from the backend
  • Show current temperature and weather icon
  • Admin page for adding users and events
  • Automatically remove past events from the event list

Technologies

  • Frontend: React, TypeScript, and CSS
  • Backend: Node.js with Express
  • APIs: OpenWeatherMap and MetaWeather

Components

Frontend

  • LeftSidebar: Displays the list of users fetched from the backend.
  • Temperature: Displays the current temperature and weather icon.
  • Event: Displays the list of events fetched from the backend.
  • AdminForm: Provides forms to add users and events to the backend.

Backend

  • users: Handles routes for getting and adding users.
  • events: Handles routes for getting and adding events.
  • removePastEvents: Utility function that automatically removes past events.

Installation & Usage

Frontend

  1. Install Node.js and npm.
  2. Install the required packages: npm install.
  3. Start the development server: npm start.

Backend

  1. Install Node.js and npm.
  2. Install the required packages: npm install.
  3. Start the server: node index.js or npm start.

Customization

The frontend components and styles can be customized by editing the respective .tsx and .css files. The backend routes and utility functions can be modified in the index.js file.

Deployment

To deploy the frontend, run npm run build to create a production build. Serve the compiled files using any web server. To deploy the backend, use a process manager like PM2 or a platform like Heroku.

License

MIT

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.