This App allow user to list doctor near by location and allow book appoinment.
# Clone this app
git clone https://github.com/enblitz/HealthNestApp.git
# Copy env file
cp .env.samples .env
source .env
# run this app
docker-compose up -d
#Acees this app
http://localhost:65483
cp .env.sample .env
- Install Database using
brew install mysql
or usingxampp
- Setup database - create user and database
-- Database user Creation CREATE USER 'healthnest'@'%' IDENTIFIED WITH mysql_native_password BY 'hel#net191'; CREATE USER `healthnest`@`%` IDENTIFIED BY 'hel#net191'; -- Various Grant Permissions for DB-User GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on *.* TO 'healthnest'@'%' WITH GRANT OPTION; GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on *.* TO `healthnest`@`%` WITH GRANT OPTION; -- Database Creation CREATE DATABASE `healthnest-db`; -- Grant Privilege to the DB User GRANT ALL PRIVILEGES ON `healthnest-db`.* TO 'healthnest'@'%'; -- Reloading Privileges FLUSH PRIVILEGES; -- View the DB-User Permission SHOW GRANTS FOR `healthnest`@`%`;
- Setup database - create tables
mysql -uroot use healthnest-db; source database/tables.sql
cd backend
Install all the modules
npm i
Start the server
npm start
To Test backend: http://3.1.222.229:8081/doctors
cd frontend
Install all the modules
npm i
Start the server
npm start