GithubHelp home page GithubHelp logo

seatplan's Introduction

Exam Center Search Web Application

This is a Flask web application that allows users to search for exam centers based on a provided serial number. The application reads data from a CSV file (seatplan.csv) containing information about exam centers and their capacities.

Features

  • Users can enter a serial number to search for the corresponding exam center.
  • The application displays details such as the name, address, and capacity of the exam center.
  • Error handling for invalid input or when no exam center is found for the given serial number.

Project Structure

exam_center_project/ │ ├── seatplan.csv ├── app/ │ ├── init.py │ ├── routes.py │ ├── templates/ │ │ ├── index.html │ │ └── result.html ├── requirements.txt ├── Procfile ├── runtime.txt └── README.md

  • seatplan.csv: CSV file containing data about exam centers.
  • app/: Contains the Flask application code.
  • app/routes.py: Defines the Flask routes and logic.
  • app/templates/: Contains HTML templates for rendering pages.
  • requirements.txt: Lists the Python dependencies.
  • Procfile: Specifies the command to start the web application.
  • runtime.txt: Specifies the Python version used in the project.

Usage

  1. Clone the repository:

    git clone https://github.com/your-username/exam_center_project.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Flask application:

    python app/routes.py
  4. Open a web browser and navigate to http://127.0.0.1:5000/.

  5. Enter a serial number in the provided form and submit to search for the exam center.

Deploying to Heroku

To deploy the application to Heroku, follow these steps:

  1. Create a Heroku app:

    heroku create your-app-name
  2. Deploy the code to Heroku:

    git push heroku master
  3. Open the deployed app:

    heroku open

Credits

This project was created by Mamun

seatplan's People

Contributors

memamun 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.