Giter VIP home page Giter VIP logo

derick80 / blog2023 Goto Github PK

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

Another remake of my social media blog with additional functionality. Likes, categories, image upload, authorization

Home Page: https://derickchoskinson.com/

JavaScript 0.06% TypeScript 98.12% CSS 0.85% Dockerfile 0.29% Shell 0.04% MDX 0.63%
cloudinary flyio prisma radix-icons react-hot-toast remix-auth remix-auth-form remix-run tailwindcss tiptap-editor

blog2023's Introduction

Welcome to Remix

Prisma Seeding in Development

  • Until form login is working again login with discord and then copy paste the userId from prisma studio into the seed file

Component References

Database Setup

I use Render for hosting a postgress database using Prisma ORM. Create a new database and then add the following environment variables to your .env file.

DATABASE_URL=''

Image Upload Setup

Create a Cloudinary account and add the following environment variables to your .env file.

CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET= CLOUDINARY_CLOUD_NAME=

Fly Setup

  1. Install flyctl

  2. Sign up and log in to Fly

flyctl auth signup
  1. Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.
flyctl launch

Development

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Maintaining package versions

npm-check -u

Deployment

If you've followed the setup instructions already, all you need to do is run this:

npm run deploy

You can run flyctl info to get the url and ip address of your server.

Check out the fly docs for more information.

blog2023's People

Contributors

derick80 avatar

Watchers

 avatar

blog2023's Issues

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.