Git Product home page Git Product logo

scratchy's Introduction

Scratchy

Getting Started

Boot Docker services

docker-compose up -d

Install Dependencies

pnpm install

The install command should also run this next generator for you in a 'postinstall' hook. This generates the prisma client for the backend, and the api client library for sveltekit. You can rerun the command with the following.

pnpm -r gen

Next, initialize & seed the database. This creates the actual database, and runs all migrations for you. Then it runs a seed command for you that sets up some sample data.

Note: If you see the error User scratchy was denied access on the database scratchy.public, you will need to check if the postgres running on port 5432. Likely, you have multiple postgres servers running on your host machine, and the one running on port 5432 is not able to authenticate with the scratchy user.

pnpm db

Start dev mode, either use overmind or look in the Procfile and use that as a starting point. You need the api and web, the generators are optional.

overmind start

Graphql

After booting the api, you can nav to the graphiql editor here: http://localhost:5000/graphiql

scratchy's People

Contributors

jasonraimondi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alexrogalskiy

scratchy's Issues

2 Questions

How can I use the Sendgrid, in other words, what portion of the code do I need to modify to accomplish a third-party mailing service?

Is the permission functionality fully implemented? Great if you can give an example demonstrating how to decorate the resolvers with Role and/Or Permissions?

Is this code prduction-ready?

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.