Git Product home page Git Product logo

site's Introduction

PocketBase Site

This is the PocketBase Site (aka. https://pocketbase.io), built with SvelteKit.

Development and contribution

Download the repo and run the appropriate console commands:

# install dependencies
npm install

# start a dev server with hot reload at localhost:5173
npm run dev

# or generate production ready bundle
npm run build

site's People

Contributors

arturh85 avatar askblaker avatar cblaettl avatar crispybaguette avatar csmith avatar deedlefake avatar dghaehre avatar dineshkp avatar diogomartino avatar dschissler avatar fishsticks89 avatar ganigeorgiev avatar icflorescu avatar ionutvelicu avatar ishanray avatar ivan94fi avatar jacobez avatar juangiordana avatar kisamoto avatar lionelf329 avatar lorenzbaier avatar lukadj996 avatar matthiasbaldi avatar mohammed90 avatar oswines avatar peteretelej avatar vicquemare avatar wesselvdp avatar wpyoga avatar zehir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

site's Issues

Error in Collections page

Screenshot 2024-03-03 at 12 28 17 PM

In the above image should author be author.id instead? as it is being checked with @request.auth.id.

Feature Request: Implement a dark mode

Does the site has a dark mode? Can't find the toggle button

It would be very nice to have a dark mode for the site and the docs. The background is completely white and it seems to be very bright for working at night

The front end is built with Svelte so I'm more than happy to open a PR implementing the dark mode on the site.

[BUG] JSON formatting issue on page navigation

The Bug

When I go back a page and come back to this page using the arrow left and right on the browser or other shortcuts like buttons on the mouse, the JSON formatting breaks, introducing \n, and adding a \ every time the action is repeated

How to reproduce

Just go back 1 page and come back when you are editing a record with a json field.

Screenshots

Before

Before

After first back

image

After third back

image

Pocketbase V0.21.3

Typo in Go Docs - Programmatically expanding relations

Hello, there is a typo in mentioned section, seems like forgotten from JS Docs:

// ["author", "categories"], null -> []string{"author", "categories"}, nil ?

if errs := app.Dao().ExpandRecord(record, ["author", "categories"], null); len(errs) > 0 {
    return fmt.Errorf("failed to expand: %v", errs)
}

Misleading comments in api-collections

As I understand the code, the term "records" should be replaced with "collections" (only in comments).

// fetch a paginated records list
const pageResult = await pb.collections.getList(1, 100, {
    filter: 'created >= "2022-01-01 00:00:00"',
});

// you can also fetch all records at once via getFullList
const collections = await pb.collections.getFullList({ sort: '-created' });

// or fetch only the first collection that matches the specified filter
const collection = await pb.collections.getFirstListItem('type="auth"');

Missing documentation for :isset, :length, :each, and @random.

You've made a great progress since I was here last time! (around version 0.5, I think)

However, I noticed that some of features introduced in v0.11.0 seem to be not reflected in the documentation, namely :isset, :length, and :each modifiers, and probably the @random sort key. Or, rather, they are better documented in changelog rather than in docs. :)

Would you like me to try to make a draft PR adding some kind of explanation for them?

Once again, thank you for your continuous work on this project and making it more and more awesome every day!

Dark mode plz

losing eye sight here please implement dark mode :)

Consider hosting on Netlify or Vercel

I wanted to let you know that pocketbase is now featured on the homepage of https://kit.svelte.dev/ !

One last thing I noticed while checking out the site is that it gives a pretty good Page Speed Score, but I think it could score even higher by changing hosts. It looks like right now you use Hetzner and the site has to travel across the ocean to get to the Google data center. If you use @sveltejs/adapter-netlify or @sveltejs/adapter-vercel then the site will be globally distributed and I believe both are free for smaller projects. Hopefully all you'd have to do is create an account, install the adapter, and switch over the DNS.

Sorry for the unsolicited feedback! Please feel free to close this if it's not a priority. I thought I'd share as we'd love to see the sites we're featuring be super fast, but I also totally understand if it's not something you want to invest in

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.