Git Product home page Git Product logo

recept0r-ts's Introduction

About

This is the 2021 version of recept0r, a minimal open source recipes app.

Re-written from scratch using Vue 3 with TypeScript.

A little background info in an article I wrote: How I Built a Serverless Recipes App with FaunaDB and Vue.js (a little outdated in terms of the code samples, but the app's architecture is still the same)

Deployment

If you'd like to fork this repository and deploy your own recipes app:

  1. Sign up @ Cloudinary, Fauna & Netlify
  2. Create a new db + necessary indexes in Fauna
    • Refer to everything in ./functions to see what's required or get in touch
  3. Configure necessary environment variables
    • FAUNA_SECRET: your Fauna secret
    • VITE_APP_API: something like /.netlify/functions/api
    • VITE_APP_CDNRY: something like https://api.cloudinary.com/v1_1/USERNAME/image/upload
    • VITE_APP_CDNRY_UPRESET: a short ID generated in Cloudinary
    • VITE_APP_IDENTITY: an absolute URL to your site's identity endpoint like https://your.domain/.netlify/identity
    • VITE_APP_READ: path to the public "read" function /.netlify/functions/read
    • VITE_APP_READALL: path to the public "readAll" function /.netlify/functions/read-all
  4. Build and deploy your instance

User Accounts

Public=anonymous user signup is disabled by default.

If you want to enable that, you've got to import and use the AuthSignup component in ./src/components/conditional/Auth.vue.

NB: invite processing and pwd reset are not working atm - the needed routes/views are missing.

Regarding Netlify: any serverless "back end" code (functions) can probably run elsewhere without bigger changes, but re-building the whole user management (Netlify Identity) might end up being a major change.

Documentation

Contribute

All future development of this project has moved to Codeberg:

Contribute on Codeberg

Commits are mirrored to GitHub, this project still utilizes GH > Netlify CI/CD for the time being.

recept0r-ts's People

Contributors

ttntm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.