MERN full stack web application that provides doctor appointment services. The application intended to serve two sorts of user audience: patients and doctors, who are required to register in order to use services, whereas, guests will be able to collect general details and information about the provided facilities. Technologies used in development: Node js, Express js, MongoDb, React js.
In order to run the application in local environment follow instructions below:
- Copy the following URL of github public repository of the project DocHouse - Doctor Appointment Web Application
- On your local machine, clone the repository to the working directory using
git clone <https-URL>
command. - Navigate to the cloned repository, and install all dependencies for the server
application using the
npm install
command. - Navigate to the client repository using
cd doc-house
. Install all dependencies for the client application usingnpm install
command. - To test the server application run
npm test
command. To test the client application runnpm client-test
command. - Navigate back to the root repository, and run
npm start
which will run both client and server application concurrently. - If there have not occurred prior errors until this step, npm successfully will redirect you to Dochouse homepage on your default browser.
Application is in development mode. Add your environment variables of database and external service credentials to the /backend/.env file. In production mode, configure environment variables and secrets in render Make sure following variables are well-defined.
DB_URI=''
DB_TEST_URI=''
JWT_SECRET=''
STRIPE_SECRET=''
Client and server applications will be deployed separately using render platform
To deploy FrontEnd go to the dashboard, Select New+ --> Static Site
Continue with following recommended variables, leave others as they are.
Name: <unique-name-for-client-app>
Build Command : npm run build
Publish Directory : build
Branch : <name-of-branch>
Root Directory : doc-house
To deploy Backend go to the dashboard, Select New+ --> Web Service
Continue with following recommended values, leave others as they are.
Name: <unique-name-for-service-app>
Build Command: npm start
Start Command: npm run server
Branch: <name-of-branch>
Github CI workflow used to automate following operations of application: build, test and deploy to clouds. Make sure to define deployment related secrets in github project. Source
HomePage | Login |
---|---|
Sidebar | Profile |
Search | Review |
Payment | Chat |
- Providing advanced testing methods, in particular more integration tests.
- Adding instant notification system for better user experience.
- Processing real payments that preserve commerce protocols.
- React Documentation, URL: https://reactjs.org/docs/getting-started, Last accessed on 20/11/2020.
- Node JS Documentation, URL: https://nodejs.org/docs/latest-v13.x/api, Last accessed on 27/10/2020.
- Express Documentation, URL: https://expressjs.com/en/5x/api, Last accessed on 13/10/2020.
- MongoDB Documentation, URL: https://docs.mongodb.com/manual, Last accessed on 01/11/2020.
- Material-UI Documentation, URL: https://material-ui.com, Last accessed on 05/11/2020.
- Jamie Shi, “MERN-Social-Network” github public repository, URL: https://github.com/jm-shi/MERN-Social-Network, Last accessed on 04/10/2020.
- Clever Programmer, Build a Whatsapp Clone with MERN Stack URL: https://www.youtube.com/watch?v=gzdQDxzW2Tw, Last accessed on 05/10/2020. 10,58 Top