Git Product home page Git Product logo

rawatinap's Introduction


Logo

Rawat Inap

An app where you can get hospital bed capacity information in real time, accurate, and transparant.
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. Features
  2. Getting Started
  3. License
  4. Contact

Features

  • User:
    • User can register;
    • User can login;
    • User can update their proile;
    • User can delete their profile;
    • User can register patient(s);
    • User can update their registered patient(s)'s information;
    • User can delete their registered patient(s)'s information;
    • User can find hospital based on name or location;
    • User can get bed capacity information of selected hospital;
    • User can create registration for hospital bed for himself or his registered patient(s);
    • User can find and select their desireable policlinic for medical check-up;
    • User can create registration for medical check-up for themself or their registered patient(s).
  • Admin:
    • Admin can create bed information;
    • Admin can update bed information;
    • Admin cad delete bed information;
    • Admin can create doctor information;
    • Admin can update doctor information;
    • Admin can delete doctor information;
    • Admin can create policlinic information;
    • Admin can update policlinic information;
    • Admin can delete policlinic information;
    • Admin can create policlinic daily practice information;
    • Admin can update policlinic daily practice information;
    • Admin can delete policlinic daily practice information;
    • Admin can admit patient bed registration;
    • Admin can assign a bed for hospitalized patient.
  • Super Admin:
    • Super Admin can create hospital information;
    • Super Admin can update hospital information;
    • Super Admin can delete hospital information;
    • Super Admin can create admin account.

(back to top)

Entity Relationship Diagram

Rawat-Inap-ERD Rawat-Inap-ERD

(back to top)

Built With

Golang   Visual Studio Code   Google  GCP  midtrans  s3  MySQL  Docker  Swagger  Postman  Cloudflare 

(back to top)

Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/KamarRS-App/BackEnd.git
  2. Move to project directory:
    cd BackEnd/
  3. Create your environment in .env and change its variable value with your desired value
    echo "
    export DB_USERNAME="YOUR DB USERNAME"
    export DB_PASSWORD="YOUR DB PASSWORD"
    export DB_HOST="YOUR HOST ADDRESS"
    export DB_PORT="3306"
    export DB_NAME="YOUR DB NAME" 
    export SERVER_PORT="YOUR DESIRE PORT"
    export MIDTRANS_MERCHANT_ID="YOUR MIDTRANS MERCHANT ID"
    export MIDTRANS_CLIENT_KEY="YOUR MIDTRANS CLIENT KEY"
    export MIDTRANS_SERVER_KEY="YOUR MIDTRANS SERVER KEY"
    export AWS_REGION="YOUR AWS REGION"
    export ACCESS_KEY_IAM="YOUR ACCESS KEY IAM"
    export SECRET_KEY_IAM="YOUR SECRET KEY IAM"
    export AWS_BUCKET_NAME="YOUR AWS BUCKET NAME"
    export EMAIL_PASSWORD="YOUR EMAIL PASSWORD FOR SMPT SEND EMAIL"
    export EMAIL_FROM="YOUR EMAIL ADDRESS FOR SENDING EMAIL"
    export JWT_SECRET="YOU STRING SECRET FOR JWT"
    export GOOGLE_OAUTH_CLIENT_ID="YOUR GOOGLE OAUTH CLIENT ID FOR LOGIN OAUTH"
    export GOOGLE_OAUTH_CLIENT_SECRET="YOUR GOOGLE OAUTH CLIENT SECRET"
    export GOOGLE_OAUTH_CLIENT_SECRET1="YOUR GOOGLE OAUTH CLIENT ID1 FOR CALENDAR"
    export GOOGLE_PROJECT_ID="YOUR GOOGLE PROJECT ID FOR OAUTH LOGIN"
    export GOOGLE_PROJECT_ID1="GOOGLE_PROJECT_ID1 FOR CALENDAR"
    export GOOGLE_OAUTH_CLIENT_ID1="YOUR GOOGLE OAUTH CLIENT ID1 FOR CALENDAR"
    " > .env
  4. Run Project
    source .env && go run main.go

(back to top)

Documentation

open-api-swagger For more examples, please refer to the OPEN API

(back to top)

License

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

(back to top)

Contact

Aziz Email-Aziz

Teguh Email-Teguh

Febryan Email-Febryan

(back to top)

rawatinap's People

Contributors

febryanmz avatar teguhputra16 avatar aziz-wahyudin avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.