This is the super repository for the Medication Reminder System. It integrates the following two repositories:
- Node.js (v16 or later)
- npm (v7 or later)
- Ngrok (for exposing the local server)
- A local database server (optional for bonus features)
Run the following script to clone the super repository and both submodules:
git clone https://github.com/MehdiMamas/nodejs-assessment
cd nodejs-assessment
git clone https://github.com/MehdiMamas/nodejs-assessment-app/ app
git clone https://github.com/MehdiMamas/nodejs-assessment-server serverFollow the instructions in the server/README.md file to set up and run the backend server.
Follow the instructions in the app/README.md file to set up and run the frontend application.
- Frontend: Open your browser and navigate to
http://localhost:3000. - Backend: The API server will run on
http://localhost:5000.
- Ensure the
.envfile in theserverrepository is properly configured with your API keys. - Use Ngrok to expose your local server for Twilio webhooks.
- Update any
.envfiles as needed for environment-specific configurations.