A restful api that calculates overstay fees for hospital bookings.
Visit hospitalsoftware.herokuapp.com to test the live api!
- NodeJS
- Express
- Typescipt
- TypeORM
- MySql
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
In order to install the project and all dependencies, enter in the project folder and run npm install
npm run migration:run
npm run dev
npm run build && npm start
npm run build
npm test
Additionally, to use the test.rest file, only if using vscode, install REST Client extension by Huachao Mao
docker build -t {imagename} .
docker run -d -p 8080:5000 --name {name} {imagename}
- Open on http://localhost
- 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
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.
Adedeji Babajide
Copyright ยฉ 2021 Adedeji Babajide