Skip to content

Freegle/iznik-nuxt3

Repository files navigation

iznik-nuxt3

Iznik is a platform for online reuse of unwanted items. This is the front-end client.

The old version is here.

The development has been funded by Freegle for use in the UK, but it is an open source platform which can be used or adapted by others. Other contributors very welcome, especially those with design/UX expertise.

It would be very lovely if you sponsored us.

❤️ Sponsor

License

This code is licensed under the GPL v2 (see LICENSE file). If you intend to use it, Freegle would be interested to hear about it; you can mail geeks@ilovefreegle.org.

Development

Currently only tested on node v17.9.1 and npm v9.4.0. Requires node v17 or later because it relies on fetch() which hasn't yet been fully backported to v16.

Then install all the dependencies:

npm install --legacy-peer-deps

Set some environment variables:

IZNIK_API_V1=https://fdapidbg.ilovefreegle.org/api
IZNIK_API_V2=https://api.ilovefreegle.org/apiv2

(if running the Go Server locally then http://localhost:8192/api)

Then start the dev server:

npm run dev

This will serve up the site at localhost:3002.

It will watch for changes and do hot module reloading. Occasionally you'll need to restart Vite when it doesn't pick up a change.

Technologies

Briefly:

  • Nuxt 3, which is Vue 3 (so we get all that nice reactive stuff), with a standard folder layout, SSR/static site generation and Pinia as a replacement for Vuex.
  • Bootstrap Vue Next, which is Bootstrap v5 for Vue 3 / Nuxt 3.
  • Continuous Delivery via Netlify.
  • Capacitor app.

BrowserStack is supporting Freegle, allowing us to use their service and infrastructure to test the code in this repository. Thank you for supporting the open source community!

About

This is the new version of the client code. The iznik-nuxt repository is now historical (for www.ilovefreegle.org) but still used for moderator tools.

Resources

Stars

Watchers

Forks

Packages

No packages published