Coder Social home page Coder Social logo

react-min-tem's Introduction

README

Beginner React Project

  • This project was initiated with the intent of using GraphQL, Relay, MongoDB and the Flux framework.
  • I decided to limit the scope of it to be a "barebones" React project and not use any formal framework since there was limited functionality.
  • MongoDB / more server-side functionality will be the next addition.

Instructions

Node Version: 4.3

  • First: npm install
  • Run: npm start
  • Needs: A mongo process running. If you have it locally you can run mongod. It will look on the default port 27017.
    • Actually I have turned off MongoDB by default since the calls to the database were not yet built out.
    • MongoDB can be turned on again by setting the variable to true, atop the server.js file but all it does is initialize the database.
  • Development: Run webpack -w -d --display-error-details to see your updated changes.
  • That should be it.

Components

Home

This component contains most of the state of the application. Re-renders are triggered from the home component and all of the other components are nested within the home component.

LoginForm

Flexible component for both doctor and patient login. Contains some state (for username and password).

DoctorPortal

Contains all relevant information for a doctor user.

  • Patient Name, Address, DOB
  • Patient Visit History
PatientPortal

Contains all relevant information for a patient user.

  • Patient's Name, Address, DOB
  • Upload Form

Not yet done: Backend calls, form/file upload (will probably use whatfg-fetch or node-fetch)

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.