Blog application built with Remix, a full-stack JavaScript framework for building modern web applications
Remix Blog is a blog application built with Remix, a full-stack JavaScript framework for building modern web applications. It utilizes React for the frontend and Node.js for the backend.
To get started with Remix Blog, follow these steps:
npm install
npx prisma db push
This will initialize the SQLite database for the blog.
node prisma/seed
This will populate the database with sample blog posts.
npm run dev
This will start the development server and open the application in your default browser.
In the project directory, you can run the following scripts:
npm run build
: Builds the Remix application for production.npm run dev
: Starts the Remix development server.npm start
: Serves the built Remix application using remix-serve.npm run typecheck
: Runs TypeScript type checking.npm run lint
: Runs ESLint to lint the source code.The Remix Blog project relies on the following dependencies:
For a complete list of dependencies, refer to the package.json
file.
Contributions to the Remix Blog project are welcome! If you'd like to contribute, please follow these guidelines:
main
branch.Please ensure that your code follows the project's coding style and conventions.
This project is licensed under the MIT License.
https://github.com/remix-run/remix
https://www.npmjs.com/package/prisma
https://github.com/prisma/prisma
https://www.prisma.io/docs/concepts/components/prisma-client
https://www.prisma.io/docs/getting-started/quickstart
npm i prisma @prisma/client
npx prisma init --datasource-provider sqlite
https://www.prisma.io/docs/guides/database/prototyping-schema-db-push#prototyping-a-new-schema
npx prisma db push
node prisma/seed
https://www.prisma.io/docs/concepts/components/prisma-studio
npx prisma studio
https://www.prisma.io/docs/concepts/components/prisma-client