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.
there is config file to api into utils folder api.js, to contact with backend.
there is config file to data base into config folder db.js, to contact data base with api.
module.exports = {
username: [your username],
password: [your password],
database: [your data base],
host: 'localhost',
dialect: 'mysql',
jwtSecret: [your secret into jwt],
};
npm installcd client
npm installinto backend folder
npm run serverinto frontend folder
npm startcd client
npm run buildAfter running a build in the client 👆, cd into the root of the project.
And run...
Linux/Unix
NODE_ENV=production node server.jsWindows Cmd Prompt or Powershell
$env:NODE_ENV="production"
node server.js