Code Monkey home page Code Monkey logo

axe10rellana / snapgram Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.39 MB

Código base de la aplicación web Snapgram Hecha en React.js, React Dropzone, React Hooks Form, React Icons, React Intersection Observer, React Query, React Router Dom, Shadcn/ui, Sweetalert2, TypeScript, Zod, Tailwind CSS que utiliza Appwrite como backend as a service.

Home Page: https://snapgram-nu.vercel.app

License: MIT License

JavaScript 1.63% HTML 0.55% TypeScript 92.09% CSS 5.73%
appwrite css git html javascript react react-dropzone react-hook-form react-icons react-intersection-observer react-query react-router-dom shadcn-ui sweetalert2 tailwindcss tailwindcss-animate typescript vite zod vercel

snapgram's Introduction

Snapgram

Descripción

Código base de la aplicación web Snapgram Hecha en React.js, React Dropzone, React Hooks Form, React Icons, React Intersection Observer, React Query, React Router Dom, Shadcn/ui, Sweetalert2, TypeScript, Zod, Tailwind CSS que utiliza Appwrite como backend as a service.


Configuración de shadcn

Modificación del archivo tsconfig.json

{
  "compilerOptions": {
    /* Shadcn */
    "baseUrl": ".",
    "paths": {
      "@/*": [
        "./src/*"
      ]
    }
  },
}

Actualizar el archivo vite.config.ts

npm i -D @types/node
import path from "path";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";

export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"),
    },
  },
});

Ejecutar el comando shadcn-ui init

npx shadcn-ui@latest init

Configurar los components.json

- ✔ Would you like to use TypeScript (recommended)? … no / yes
- ✔ Which style would you like to use? › Default
- ✔ Which color would you like to use as base color? › Slate
- ✔ Where is your global CSS file? … src/styles/index.css
- ✔ Would you like to use CSS variables for colors? … no / yes
- ✔ Where is your tailwind.config.js located? … tailwind.config.js
- ✔ Configure the import alias for components: … @/components
- ✔ Configure the import alias for utils: … @/lib/utils
- ✔ Are you using React Server Components? … no / yes
- ✔ Write configuration to components.json. Proceed? … yes

Agregar componentes al proyecto

npx shadcn-ui@latest add button
npx shadcn-ui@latest add form
npx shadcn-ui@latest add input
npx shadcn-ui@latest add label
npx shadcn-ui@latest add toast
npx shadcn-ui@latest add textarea
npx shadcn-ui@latest add tabs

Vista En Versión Desktop

Vista_En_Versión_Desktop

Vista En Versión Mobile

Vista_En_Versión_Mobile


Enlace A La Aplicación


Hecho con


Comandos

  • npm i
  • npm run dev
  • npm run build

Dependencias

  • AppWrite
  • React
  • React Dropzone
  • React Hook Form
  • React Icons
  • React Intersection Observer
  • React Query
  • React Router Dom
  • Shadcn/ui
  • Sweetalert2
  • Tailwind-merge
  • Zod

Dependencias De Desarrollo

  • Autoprefixer
  • Post CSS
  • Tailwind CSS
  • Tailwind CSS Animate
  • Typescript
  • Vite

Autor

snapgram's People

Contributors

axe10rellana avatar

Watchers

 avatar

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.