GithubHelp home page GithubHelp logo

bradswhite / poaster Goto Github PK

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

A Simple Posting App

JavaScript 1.37% TypeScript 94.96% HTML 0.17% CSS 3.50%
graphql prisma radix-ui redwoodjs tailwindcss typescript railway-app

poaster's Introduction

Poaster

Commands
npx create-redwood-app poaster
cd poaster

yarn rw setup ui tailwindcss

yarn rw dev


# Login to Railway.app and start Postgres db and copy DB_URL

touch .env
nvim .env
# ~/.env:
# DATABASE_URL=***your-db-url-from-railway***

yarn rw prisma migrate dev
yarn rw setup auth dbAuth
yarn rw g dbAuth
# username label: Username
# password label: Password


yarn rw g sdl users
yarn rw g sdl posts
yarn rw g sdl post-likes
yarn rw g sdl follows

yarn rw g layout container
yarn rw g layout navbar
yarn rw g layout sidebar

yarn rw g page home /
yarn rw g page new-post /new
yarn rw g page post-details
yarn rw g page profile

yarn rw g cell home
yarn rw g cell post
yarn rw g cell user-post
yarn rw g cell user
yarn rw g cell profile
yarn rw g cell likes

yarn rw g component comment-form


# Because we don't like VSCode:
rm -rf .vscode


# Create Git repo
# Import app from GitHub to Netifly Also add env vars from ~/.env file. Finally change name and deploy.

poaster

poaster's People

Contributors

bradswhite avatar

Stargazers

 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.