Skip to content

Clinic Management is project for my university, final project for university graduation and it's the first version, after in future we'll develop more things on it.

Notifications You must be signed in to change notification settings

mohammed-esi/Clinic-Management-Site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Clinic Managemnt 1.0

System Management for Doctors

This is a React and Express stack application with Mysql data base .It is a small systems to manage patients with their appointments with the doctor and make prescription of them.

Frontend

there is config file to api into utils folder api.js, to contact with backend.

Backend

there is config file to data base into config folder db.js, to contact data base with api.

Quick Start 🚀

Add a config.js file in config folder with the following

module.exports = {
  username: [your username],
  password: [your password],
  database: [your data base],
  host: 'localhost',
  dialect: 'mysql',
  jwtSecret: [your secret into jwt],
};

Install server dependencies

npm install

Install client dependencies

cd client
npm install

Run both Express & React from root

into backend folder

npm run server

into frontend folder

npm start

Build for production

cd client
npm run build

Test production before deploy

After running a build in the client 👆, cd into the root of the project.
And run...

Linux/Unix

NODE_ENV=production node server.js

Windows Cmd Prompt or Powershell

$env:NODE_ENV="production"
node server.js

About

Clinic Management is project for my university, final project for university graduation and it's the first version, after in future we'll develop more things on it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published