Skip to content

isabella232/wecarry-ui

 
 

Repository files navigation

WeCarry app

Dependencies

Node and Make

Local development

This project utilizes Rollup for its builds

Ensure your etc/hosts has a wecarry.local and minio alias to localhost cp .env.example .env and update the values as needed

Install the project dependencies and start a local server

make

Navigate to http://wecarry.local:5001. You should see your app running. Edit a component file in src, save it, and the page will automatically reload with your changes.

Testing social providers (oauth)

In order to utilize the social auth capabilities, BASE_API_URL and the locally running api's HOST must be localhost instead of wecarry.local. These vars are found in the .env and docker-compose.yml respectively.

Breakpoint testing

To see what Bootstrap responsive breakpoint you are currently viewing, add the following to the Footer.svelte:

<script>
// ADD THIS:
import BootstrapWidthIndicator from 'components/BootstrapWidthIndicator.svelte'
</script>

...

<footer ...>
    ...

    // AND ADD THIS:
    <span class="mx-2 text-muted float-right"><BootstrapWidthIndicator /></span>
</footer>

Deployment

make build

The contents of the dist folder can then be deployed to your host

About

UI for WeCarry App

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 75.6%
  • JavaScript 22.4%
  • SCSS 1.4%
  • Other 0.6%