Introduction
Individual assignment for SparkX. A Covid Management System to manage hospitals and patients. Frontent developed using HTML, CSS and Javascript.
Backend : View Repository
Frontend : View Repository
Instructions
- Clone the repository
- Add repository to a folder in htdocs (XAMMP), www (WAMP) or host in the server
- Install CROS enable extention if you are using Chrome or get errors due to CROS policy. Allow CORS: Access-Control-Allow-origin
- Update apiUrl and baseUrl in
- inc\js\auth.js
- inc\js\home.js
- inc\js\functions.js
var apiUrl = "http://localhost:8080";
var baseUrl = "http://localhost/ncms"
apiUrl - Backend url (base url) without trailing slash
baseUrl - Frontend url (index.html url) without trailing slash
Live Example
Please check the live example deployed in AWS EC2 here : http://ec2-34-216-93-5.us-west-2.compute.amazonaws.com/
Login Details
MOH User
- Username: moh@spark.lk
- Password: password
Doctor
- Username: doctor@spark.lk
- Password: password
Patient
- Username: patient@spark.lk
- Password: password
Dependancies
- Bootstrap: 4.0.0
- Fontawesome: 4.7.0
- Toastr: 2.1.3
- Sweetalert2
- JS Cookie: 2.2.1
- JQuery: 3.3.1
- ChartJS: 2.7.1