Skip to content

The code for the blog built in Design and Develop by @GDSCSRM. Built with ❤️ in Remix by @sm-sami

Notifications You must be signed in to change notification settings

gdgsrm/dnd-blog

Repository files navigation

Design and Develop

Getting started with this project

This can be done in two ways, either by forking/cloning the repo or by using this template to create a remix app

Fork and clone the branch

  • Fork this repository
  • Clone starter-code branch from the forked repository
git clone -b starter-code https://github.com/<your-username>/dnd-blog.git

Create a new Remix app with this template

npx create-remix@latest --template https://github.com/GDSCSRM/dnd-blog/tree/starter-code dnd-blog
cd dnd-blog

Install dependencies

npm install

Prisma setup

Make sure to include .env file in the root directory with DATABASE_URL before running the following command.

Alternatively you can copy the .env.example

cp .env.example .env

Run the database migrations

npm run db:migrate

Seed the database (This step can be skipped, migrate does the seeding)

npm run db:seed

Start the development server

npm run dev

About

The code for the blog built in Design and Develop by @GDSCSRM. Built with ❤️ in Remix by @sm-sami

Topics

Resources

Stars

Watchers

Forks