Note: All steps were performed using on Windows 10.
website
- Install
node(14.15.0)
- NODEJS
- Use default setting and just keep clicling
next
till finish
- Install
Git
-GIT- Use default setting and just keep clicling
next
till finish
- Use default setting and just keep clicling
- done installations!!!
- Clone the Repo:
$ git clone https://github.com/gaurav-chaurasia/IT254-PROJECT.git
- Move to the folder where you cloned the project
- Install all dependencies and devDependencies by running the following command
$ npm install
- Before running the server add
.env
file in root folder or simply replace.env.example
with.env
file and add your keys - to get Client id & Client Secret link
- to get
DATABASE_CONNECTION_URL
and make DB connection link
# database connection url
DATABASE_URI=<YOUR_DATABASE_CONNECTION_URL>
# client id & secret for OAuth
GOOGLE_OAUTH2_CLIENT_ID=<YOUR_OAUTH_CLIENT_ID>
GOOGLE_OAUTH2_CLIENT_SECRET=<YOUR_OAUTH_CLIENT_SECRET>
- Now run the server by running following command
- dev runs the sever with nodemon which automatically restart server everytime we make any changes
$ npm start
- The above steps starts the development server on localhost:3000
- Go to
http://localhost:3000/
in your browser - It will automatically redirect you to the Home page and then ask for Signup or Login.
- seperate dashboard for diff users roles like normal, admin and doctor roles
- This user can check any medicine, disease details entered by authorized DOCTORS
- Users can search for any medicine or disease
- Users can search for medicine by its name or the disease name for which any medicine is used.
- Proper authentication is present to keep data safe and secure.
- Third-party authentication is also present (OAuth2.0).
- Google OAuth2.0 implimented
- GitHub
- Users can see other users nearby with symptoms of any contagious disease.
- Users can perform CRUD on geospatial data. (create, read, delete, update)
- Live chat with doctor
- use web socket
- doctor can prescrib medicine
- perscribtion sent to mail
- user gets notification when doctors replies
- Capability to pay and buy prescribed medicines
- pay using paypal
- pay using stripe