Skip to content

CoviCare is the platform to monitor the COVID-19 utilities. It provides the location-based availability of resources using google Maps APIs.

Notifications You must be signed in to change notification settings

abhishek-g-joshi/CoviCare

Repository files navigation

CoviCare

🚀 Checkout the website live at : https://covicare-app.herokuapp.com/

💡Lessons Learned

  • First full-stack web application
  • ExpressJS
  • MongoDB database design
  • Bootstrap 4
  • Intergration with API's
  • Deploying app to Heroku and Database to MongoDB Atlas

🛠 Technologies

Graphic Design Front-End Back-End Database Deployment
Inkscape HTML5 Node.js Mongoose Heroku
. CSS3 ExpressJS MongoDB MongoDB Atlas
. Bootstrap 4 EJS . Git
. Javascript . . .

⚖️ Methodology

  • Bootstrap 4 as the CSS framework to keep the UI simple and quick to build.
  • ExpressJS as the Node.js application framework for its basic functionality. Some companies still use ExpressJS so it was important to implement it.
  • PassportJs for the authentication and authorization.
  • NoSQL database for the flexibility compared to a SQL database, MongoDB in particular because of its prevalence in the industry.

⚙️ Features

  • Login, sign-up, Admin role
  • REST API (create, read, update, delete) for Hospitals, comments, and reviews
  • Create routes have authentication
  • Edit, Update, and Delete routes have authentication and authorization
  • Google Maps API

🚀 Getting Started

Create an .env file and add values to the following variables:

GEOCODER_API_KEY=
API_KEY=
DATABASEURL=
PASSPORT_SECRET=
ADMIN_CODE=

In a terminal window, initialize a Mongoose Database

$ ./mongod

In a second terminal window, display the Mongoose Database

$ mongoose

In a third terminal window, install dependencies using npm:

$ npm install

And then run the application with

$ npm start

📐 Tests

The integration tests using Jest test the creation of data, the functionality of the schema, and the functionality of the validation. The tests are iterated over each of the models: covicare, comments, reviews, users. To run the tests:

$ npm test

🔒 License

Copyright Notice and Statement: currently not offering any license. Permission only to view and download.

About

CoviCare is the platform to monitor the COVID-19 utilities. It provides the location-based availability of resources using google Maps APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages