An electronic medical management web application that allows users to store their medical information, keep track of their medications, physicians, and consult notes.
Client: React, Axios, BEM/SASS
Server: Node, Express
Language: HTML5, JavaScript
Tools: VSCode IDE, npm
- Responsive Design
- Error Handling
- HTML5 Built-In Form Validation
- Password Encryption
- User Authorization and Authentication
To run this project, you will need to add the following environment variables to your .env file for the client
REACT_APP_API_URL
and server
PORT
CLIENT_URL
JSON_SECRET_KEY
Open a new terminal.
In the project directory, run:
In the server directory, run:
To start server run:
Open a second terminal for the client.
In the server directory, you need to run:
To get to the project directory.
To change directory to client run:
In the client directory run:
To start client run:
A browser tab will open http://localhost:3000 with the eMM web application running. Click Signup button to create a profile.
I learned:
- how to use JSON Web Tokens (JWT) for authorization
- how to encrypt a password using npm bcrypt
- how to add authorization to every backend API
- how to build a styled, multi-page web application from scratch by applying concepts like Flexbox and SASS to build static webpages
- mastered HTML5, CSS and JavaScript while building dynamic web applications
- mastered Node/Express routers
- mastered ReactJS library
- how to use Git and Github
- to keep myself on task and organized with such a big project
A challenge I faced was to implement error handling. I overcome it by creating a custom error object with error messages on server-side to display them on the client-side. In particular, this helped me with displaying error message when a user tries to sign up with a username that was already defined in the system and to display login errors
- Phase 2: Implement data storage using MongoDB
- Phase 3: Design additional functionalities to help the user schedule medication, its dosage, duration, daily reminders as well as sharing information with the caregiver/family members