GithubHelp home page GithubHelp logo

lancerdonnie / hospitalsoftware Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 176 KB

A restful api that calculates overstay fees for hospital bookings.

Home Page: https://hospitalsoftware.herokuapp.com/reservation

JavaScript 2.98% TypeScript 95.38% Shell 0.39% Dockerfile 1.24%

hospitalsoftware's Introduction

๐Ÿšฉ HOSPITAL SOFTWARE (version 1.0.0)

node version

A restful api that calculates overstay fees for hospital bookings.

Visit hospitalsoftware.herokuapp.com to test the live api!

๐Ÿ“ฆ Tools used

  • NodeJS
  • Express
  • Typescipt
  • TypeORM
  • MySql

๐Ÿ”ง Developer usage

Set up project

Before cloning the repo be sure you have installed:

  • NODE (version >=14.0.0)
  • MySql

Then:

  • Choose a folder project in your system and switch in cd [folder path]
  • Clone the repo in your folder path git clone https://github.com/lancerdonnie/HospitalSoftware.git
  • Create a '.env' file following the '.env.example' template

Installation

In order to install the project and all dependencies, enter in the project folder and run npm install


Start:Development

npm run migration:run
npm run dev


Start:Production

npm run build && npm start


Build

npm run build


Test

npm test

Additionally, to use the test.rest file, only if using vscode, install REST Client extension by Huachao Mao



Docker

docker build -t {imagename} .
docker run -d -p 8080:5000 --name {name} {imagename}


๐Ÿค Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

โค๏ธ Show your support

Please โญ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.


๐Ÿค– Author

Adedeji Babajide


Copyright ยฉ 2021 Adedeji Babajide

hospitalsoftware's People

Contributors

jaydeji avatar

Watchers

 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.