Giter Site home page Giter Site logo

xmdb's Introduction

Xata and XMDB logo

Deploy with Vercel

Features ⚡️

Stack ⚙️

Package Reason
Zod Schema validation
Xata Client ORM
TailwindCSS Styles
vercel/OG OG image generation
React-Icons SVG Icons as React components

Environment Setup 🧱

To have your own local instance of this app, you will need 2 API keys, and your deployment URL.

  • XATA_API_TOKEN: to connect your own Xata workspace.
  • VERCEL_URL: popullated by Vercel, on your local environment it’s your local server url (https://localhost:3000 by default).

Once you have those keys, you can create a .env.local as shown in .env.template.

Link to Xata 🦋

You can run the xata init command with some default configuration:

pnpm xata:link

By the end you should have the XATA_API_TOKEN in your .env.local and a .xatarc file created.

Database Seed 🌱

Once you have a working link with the workspace, you can run:

pnpm xata:seed

This task will add 100 rows of mocked data to get you started with a working app.

Run Locally 🧑‍✈️

Once you project is linked and database has data, you can start the development server.

pnpm dev

By default, server will run on localhost:3000.


Xata's logo

xmdb's People

Contributors

atilafassina avatar miukimiu avatar preetsahil avatar richardgill avatar tsg avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

xmdb's Issues

Enhance design for rating

Rating the movie has some design problems, especially inside the modal. To fix this, we should enhance the design/animation for the rating functionality.

image

Enhancement Request: Make entire card area clickable

Currently, within our card layout, only the top part of each card is clickable. However, it is suggested that the entire card area should be clickable to enhance user interaction and convenience.

The proposed change aims to improve user experience by allowing users to click anywhere on the card to access its content or take action, rather than limiting interaction to only the top portion.

The "stars" (voting functionality) should only exist inside the modal. So they should be removed from the card.

Remove unnecessary star

The following "star" is unnecessary. On hover, they seem clickable but they're not doing anything so they should be removed.

image

Add better instructions on how to contribute to this repo

Better instructions

We need better instructions on how to contribute to this repo. The current instructions on README.md are missing some steps.

So I created one Google docs with new instructions that should be added to the README.md.

Sample Data

The sample data should be better. Can we improve it?

CleanShot 2023-10-16 at 12 34 07@2x

Files to be ignored

What files should be ignored? This doesn't look right.

"https://sahil-preet-s-workspace-f3ful6.eu-west-1.xata.sh/db/xmdb",

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.