Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pankalog/pulsed-workshop-api
Sample web application for the WebDev workshop @ FHICT Pulsed, 28/11/2024. Thrown together quickly using Flask.
https://github.com/pankalog/pulsed-workshop-api
Last synced: 27 days ago
JSON representation
Sample web application for the WebDev workshop @ FHICT Pulsed, 28/11/2024. Thrown together quickly using Flask.
- Host: GitHub
- URL: https://github.com/pankalog/pulsed-workshop-api
- Owner: pankalog
- Created: 2024-11-23T17:30:02.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-11-23T18:26:00.000Z (29 days ago)
- Last Synced: 2024-11-23T19:19:56.713Z (29 days ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pulsed Workshop sample web application
Thrown together quickly using Flask.
## Flask App
This web application is made using Flask, an HTTP API framework that helps with setting up
web applications extremely fast. I don't usually code in Python, especially for web
development, so this is definitely not amazing.Below you can see how to install this app and run it, feel free to make some modifications!
### Installation
1. **Clone the repository:**
```sh
git clone
cd
```2. **Create a virtual environment:**
```sh
python3 -m venv venv
```3. **Activate the virtual environment:**
- On macOS and Linux:
```sh
source venv/bin/activate
```
- On Windows:
```sh
venv\Scripts\activate
```4. **Install the dependencies:**
```sh
pip install -r requirements.txt
```## Running the App
1. **Set the Flask app environment variable:**
```sh
export FLASK_APP=main.py
```2. **Run the Flask app:**
```sh
flask run
```3. **Access the app in your web browser:**
Open your web browser and go to `http://127.0.0.1:5000/`.