GithubHelp home page GithubHelp logo

bennygoldman / bikespace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bikespace/bikespace

0.0 0.0 0.0 23.69 MB

The BikeSpace app allows cyclists in Toronto to report issues with bicycle parking or areas where bicycle parking is needed.

Home Page: https://app.bikespace.ca/

License: MIT License

Shell 0.01% JavaScript 87.93% Python 1.60% TypeScript 3.06% CSS 3.42% Makefile 0.31% HTML 2.98% Mako 0.05% Dockerfile 0.01% SCSS 0.62% Procfile 0.01%

bikespace's Introduction

Bikespace

Coverage Status

This is the code repository for the BikeSpace application. We are running it on the Flask framework paired with a Postgres database.

Getting started

The repository has only been tested on a Mac OSX machine. We utilize make and python3 for developing the application. The api service is built using flask.

It is recommended to have a python version of 3.9 or higher.

Database

To successfully run the application locally we also require a Postgres databse running along side the flask application. Ensure that is running on port 5432 with a database bikespace_dev with a default credentials of postgres:postgres

Running the API service

Source code for the backend api service is under bikespace_backend, it is a python flask application. There are various make targets to help run/build tasks. Running the backend service:

make run-flask-app

The development server should now to be running at 127.0.0.1:8000

Running the frontend

Install gatsby-cli globally on your machine, following these instructions. Source code for the frontend service is under bikespace_frontend, it is written in typescript with React framework and served with gatsby. Running the frontend:

make run-frontend

The development frontend server should be running at 127.0.0.1:8080

API Docs

The api follows an OpenAPI 3.0 Spec, the spec can be found at bikespace_api/bikespace_api/static/bikespace-open-api.yaml

The swagger-ui to render the OpenAPI spec can be found at 127.0.0.1:8000/api/v2/docs

Development Workflow

Please when always working on a new feature checkout a new branch from the latest main branch and when submitting Pull Requests please submit PRs to the development branch from the feature branch you are working off.

Project Strucutre

.
├── LICENSE
├── Makefile
├── README.md
├── bikespace_api
│   ├── Procfile
│   ├── bikespace_api
│   ├── fly.toml
│   ├── fly_release.sh
│   ├── instance
│   ├── manage.py
│   ├── migrations
│   └── requirements.txt
├── bikespace_frontend
│   ├── Dockerfile
│   ├── README.md
│   ├── fly.toml
│   ├── gatsby-config.ts
│   ├── package-lock.json
│   ├── package.json
│   ├── src
│   └── tsconfig.json
├── datasets
│   ├── submissions-2018-2023.json
│   └── v1_data_migration

bikespace's People

Contributors

sonalranjit avatar kevinluo201 avatar tallcoleman avatar dependabot[bot] avatar hulloanson avatar thomassth avatar harsha-mangena avatar whoisasey avatar mbechtel 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.