Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sharetribe/ftw-hourly
Flex template for Web: time-based booking processes
https://github.com/sharetribe/ftw-hourly
Last synced: 1 day ago
JSON representation
Flex template for Web: time-based booking processes
- Host: GitHub
- URL: https://github.com/sharetribe/ftw-hourly
- Owner: sharetribe
- License: other
- Created: 2019-09-10T11:12:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T17:50:47.000Z (over 1 year ago)
- Last Synced: 2024-11-07T10:33:06.841Z (8 days ago)
- Language: JavaScript
- Size: 22.3 MB
- Stars: 47
- Watchers: 15
- Forks: 379
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Sharetribe Flex Template for Web: time-based process
[![CircleCI](https://circleci.com/gh/sharetribe/ftw-hourly.svg?style=svg)](https://circleci.com/gh/sharetribe/ftw-hourly)
This is a template web application for a Sharetribe Flex marketplace ready to be extended and
customized. It is based on an application bootstrapped with
[create-react-app](https://github.com/facebookincubator/create-react-app) with some additions,
namely server side rendering and a custom CSS setup.> Note: We also have two more templates available:
> [FTW-daily](https://github.com/sharetribe/ftw-daily) and
> [FTW-product](https://github.com/sharetribe/ftw-product). FTW-daily focuses on day-based booking
> processes. You can [get it from GitHub](https://github.com/sharetribe/ftw-daily). FTW-product
> focuses on product marketplace with listing stock management. You can find more information in the
> [introduction to FTW-product Flex Docs](https://www.sharetribe.com/docs/ftw-introduction/ftw-product/).This template is using **time-based booking process**. This repository is a fork from the original
[FTW-daily repository](https://github.com/sharetribe/ftw-daily) (which is using nightly booking
process). So, if you have started working with the original FTW repository and you want to change to
FTW-hourly, you can
[change the 'upstream' remote repository](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork).
You can read more about time-based process from the related
[Flex Docs article](https://www.sharetribe.com/docs/background/time-based-template)## Quick start
> **Note:** this template assumes that you are using
> [time-based transaction process](https://www.sharetribe.com/docs/guides/how-to-take-time-based-bookings-into-use/)
> with alias `flex-hourly-default-process/release-1`, if you are using something else, you should
> change the alias name from
> [config.js](https://github.com/sharetribe/ftw-hourly/blob/master/src/config.js#L35) and
> [util/transaction.js](https://github.com/sharetribe/ftw-hourly/blob/master/src/util/transaction.js#L111)If you just want to get the app running quickly to test it out, first install
[Node.js](https://nodejs.org/) and [Yarn](https://yarnpkg.com/), and follow along:```sh
git clone [email protected]:sharetribe/ftw-hourly.git # clone this repository
cd ftw-hourly/ # change to the cloned directory
yarn install # install dependencies
yarn run config # add the mandatory env vars to your local config
yarn run dev # start the dev server, this will open a browser in localhost:3000
```You can also follow along the
[Getting started with FTW](https://www.sharetribe.com/docs/tutorials/getting-started-with-ftw/)
tutorial and read the background article about
[Time-based template](https://www.sharetribe.com/docs/background/time-based-template/) from the
[Flex Docs website](https://www.sharetribe.com/docs/).For more information of the configuration, see the
[FTW Environment configuration variables](https://www.sharetribe.com/docs/references/ftw-env/)
reference in Flex Docs.> **Note:** If you want to build your own Flex marketplace on top of the template, you should fork
> the repository instead of cloning it. See the
> [How to Customize FTW](https://www.sharetribe.com/docs/guides/how-to-customize-ftw/) guide in Flex
> Docs.### For Windows users
We strongly recommend installing
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about), if you are
developing on Windows. These templates are made for Unix-like web services which is the most common
environment type on host-services for web apps. Also, Flex Docs uses Unix-like commands in articles
instead of DOS commands.## Getting started with your own customization
If you want to build your own Flex marketplace by customizing the template application, see the
[How to Customize FTW](https://www.sharetribe.com/docs/guides/how-to-customize-ftw/) guide in Flex
Docs.## Deploying to Heroku
> **Note:** Remember to fork the repository before deploying the application. Connecting your own
> Github repository to Heroku will make manual deploys easier.See the
[How to deploy FTW to production](https://www.sharetribe.com/docs/guides/how-to-deploy-ftw-to-production/)
guide in Flex Docs for more information.[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Documentation
See the Flex Docs site: https://www.sharetribe.com/docs/
See also the [docs/](docs/) directory for some additional internal documentation.
## Get help – join Sharetribe Flex Developer Slack channel
If you have any questions about development, the best place to ask them is the Flex Developer Slack
channel at https://www.sharetribe.com/flex-slack## License
This project is licensed under the terms of the Apache-2.0 license.
See [LICENSE](LICENSE)