Skip to content
No description, website, or topics provided.
JavaScript TypeScript HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
client-rnw
client
server
.prettierignore
.prettierrc
README.md

README.md

Bike Sharing

Bike sharing app that runs on Web, iOS and Android.

This is a boilerplate project which is also used for experimentation.

You can play with the hackathon app that was built on top of this boilerplate here (for the client we used the client-rnw folder):

https://expo.io/@elie/shopitt

You can read more about the philosophy behind this project in the following articles:

Client

Run:

yarn # install dependencies
yarn web # open in browser
yarn ios # open in iOS emulator
yarn android # open in Android emulator
yarn storybook # view components in Storybook

Server

Run:

yarn watch

Deploy Server

  • Create a server on something like DigitalOcean or AWS.
  • Git clone the project to the server
  • Install Docker and Docker Compose
  • Add production.json settings file in config folder

Then run:

cd bike-sharing/server/
docker-compose build
docker-compose up -d

To update the server:

cd bike-sharing/server/
git pull
docker-compose build
docker-compose up -d
You can’t perform that action at this time.