A repo containing multiple projects relating to NIT Hamirpur.
- NITH Result Website
- NITH Result API
Built using python3, flask, connexion, bootstrap. Virtual environment is managed using pipenv.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Please make sure that python version >= 3.8.
Open the terminal and run the following commands:
- Clone the repository
$ git clone https://github.com/rohithill/nithp.git
$ cd nithp
- Create the virtual environment and install dependencies
$ pipenv install
- Enter into shell
$ pipenv shell
- Run the application
$ flask run
- Make a interface for simple users to view their result.
- Implement a basic API to get results.
- Implement pagination in the API.
- Add sorting parameter in API
- Add examples on how to use API in various cases.
master : All the changes are made in the master. All the pull requests are merged here finally.
deploy : This is the branch which is deployed to the website. Currently the deploy is automatic. All the push to this branch are deployed immediately.
- To ssh through heroku-cli,
heroku run bash
- https://kb.sites.apiit.edu.my/knowledge-base/how-to-gzip-response-in-flask/