Skip to content

Web3.0 Application with transfer ETH, stake Coin, lottery game, buy AiBoost token.

Notifications You must be signed in to change notification settings

ankit5577/aiboostWeb3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors MIT License LinkedIn


Logo

Aiboost next

AiBoost web3 Personal Project

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

AiBoost next is a extenstion to project https://www.aiboost.in this is a personal project which showcase the Web3 aspect of a website. it has functionalities like - send matic, lottery game, staking the token, buy aiboost token.

Built With

For Technlogy
Frontend📱 ReactJS
Blockchain📱 Smart contracts, Eth, Solidity
web3 Framework Truffle, ganache
Deployed☁️ Heroku

Libraries

FRONTEND

  • ReactJS
  • TailwindCSS
  • react-router
  • Ethers
  • framer-motion

BACKEND

  • hardhat
  • ethers
  • chai

Folder Structure

Frontend

frontend/
┣ src/
┃ ┣ app/
┃ ┃ ┣ auth/
┃ ┃ ┃ ┣ confirm-email/
┃ ┃ ┃ ┣ login/
┃ ┃ ┃ ┣ page-not-found/
┃ ┃ ┃ ┣ reset-password/
┃ ┃ ┃ ┗ sign-up/
┃ ┃ ┣ core/
┃ ┃ ┃ ┣ enum/
┃ ┃ ┃ ┣ guard/
┃ ┃ ┃ ┣ interceptor/
┃ ┃ ┃ ┣ model/
┃ ┃ ┃ ┗ service/
┃ ┃ ┣ data/
┃ ┃ ┣ pages/
┃ ┃ ┃ ┣ admin/
┃ ┃ ┃ ┣ common/
┃ ┃ ┃ ┃ ┗ edit-profile/
┃ ┃ ┃ ┣ doctor/
┃ ┃ ┃ ┃ ┣ dashboard/
┃ ┃ ┃ ┃ ┣ medicine/
┃ ┃ ┃ ┃ ┃ ┣ add-edit-medicine/
┃ ┃ ┃ ┃ ┣ patient/
┃ ┃ ┃ ┃ ┃ ┣ diagnose/
┃ ┃ ┃ ┃ ┃ ┣ list/
┃ ┃ ┃ ┃ ┃ ┗ queue/
┃ ┃ ┃ ┣ lab/
┃ ┃ ┃ ┣ layout/
┃ ┃ ┃ ┣ receptionist/
┃ ┃ ┃ ┃ ┣ patient/
┃ ┃ ┃ ┃ ┃ ┣ existing/
┃ ┃ ┃ ┃ ┃ ┣ list/
┃ ┃ ┃ ┃ ┃ ┣ new/
┃ ┃ ┃ ┣ super-admin/
┃ ┃ ┃ ┗ user/
┃ ┣ assets/
┃ ┃ ┣ images/

Backend

backend/
┣ bin/
┃ ┗ www
┣ config/
┃ ┣ aws-config.json
┃ ┗ passport.js
┣ models/
┃ ┣ hospital.js
┃ ┣ medicine.js
┃ ┣ patient.js
┃ ┗ user.js
┣ public/
┣ routes/
┃ ┣ _helper.js
┃ ┣ admin.js
┃ ┣ aws.js
┃ ┣ common.js
┃ ┣ doctor.js
┃ ┣ image.js
┃ ┣ lab.js
┃ ┣ medicine.js
┃ ┣ receptionist.js
┃ ┗ user.js
┣ views/
┃ ┣ error.jade
┃ ┣ index.jade
┃ ┗ layout.jade
┣ .dockerignore
┣ .env
┣ Dockerfile
┣ app.js
┣ main.py
┣ package-lock.json
┣ package.json
┗ readme.txt

Getting Started

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

Installation

  1. Clone the repo
    $ git clone https://github.com/ankit5577/medicoEye.git
  2. Install NPM packages in both frontend and backend folder
    $ npm install
  3. add .env file in backend folder
     PORT="3000" # specify express port
     HOST="" 
     MONGO_URL="" # specify mongodb url
     SECRET="" # secret for passportjs
     EMAIL="" # gmail temp app email
     PASSWORD="" # gmail temp app password
  4. run npm start in both frontend and backend folders.

Usage

login with any of these credentials:

<!-- for receptionist🧑🏽‍💻 role -->
email: [email protected]
password: ankit

<!-- for doctor👨🏻‍⚕️ role -->
email: [email protected]
password: ankit

email: [email protected]
password: ankit

<!-- for admin👨‍💼 role -->
email: [email protected]
password: ankit

<!-- for lab👩‍🔬 role -->
email: [email protected]
password: ankit
  • Dashboard

Contributing

For AiBoost.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Ankit Kaushal - @ankit55771 - [email protected]

Project Link: https://www.medicoeye.in/