- Angular: Framework for building the frontend.
- Node.js: Runtime environment for the backend server.
- Express.js: Web application framework for Node.js.
- MongoDB: NoSQL database for data storage.
- Mongoose: ODM library for MongoDB and Node.js.
- bcryptjs: Library for hashing passwords.
- jsonwebtoken: Library for handling JSON Web Tokens (JWT).
- nodemailer: Module for sending emails.
- rxjs: Reactive programming library for Angular.
- socket.io: Library for real-time communication.
- Bulma: CSS framework for responsive design.
- Bootstrap: CSS framework for responsive design.
- chart.js: Library for creating charts and graphs.
- ng2-charts: Angular wrapper for Chart.js.
- angular-google-charts: Angular wrapper for Google Charts.
- animate.css: Library for CSS animations.
- html2pdf.js: Library for generating PDF files from HTML.
- protractor: End-to-end testing framework for Angular applications.
- Karma: Test runner for JavaScript.
- Jasmine: Behavior-driven development framework for testing JavaScript.
-
Clone the Repository
- Download or clone the repository.
-
Set Up the Project
- Open your terminal or command prompt.
- Navigate to the project directory using
cd [your-project-folder]
.
-
Install Dependencies
- Run
npm install
to install the required dependencies.
- Run
-
Start the Angular Frontend
- Execute
ng serve
to run the Angular frontend.
- Execute
-
Start the Node Backend Server
- Execute
npm run start:server
to start the backend Node server.
- Execute
-
Access the Application
- Open your browser and go to
http://localhost:4200/
to view the application.
- Open your browser and go to
- Frontend: Run
ng serve
and navigate tohttp://localhost:4200/
. The application will automatically reload when source files change. - Backend: Run
npm run start:server
and navigate tohttp://localhost:3000/
.
- Generate a new component with
ng generate component component-name
. - You can also generate other entities using:
ng generate directive|pipe|service|class|guard|interface|enum|module
.
- Build the project by running
ng build
. The build artifacts will be stored in thedist/
directory. - Use the
--prod
flag for a production build.
- Execute
ng test
to run unit tests using Karma.
- Execute
ng e2e
to run end-to-end tests using Protractor.
- For additional help, please email marcuswilkes946@gmail.com or open an issue on the repository.
Login | SignUp |
Doctor Oders | Verified Doctor Oders |
Point Of Sales |
Checking out drugs from Point Of Sales |
Supplier Table | Supplier Form |
Sales Charts generated |
Sends Email requests to suppliers when drugs expire | Expired & about to expire table |
Preferences or Settings | Out of Stock & About to get out of stock |