Skip to content

Commit

Permalink
Remove tailwind and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Chiang committed Apr 28, 2022
1 parent f9cea84 commit 7540097
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 211 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ node_modules
/prisma/data.db
/prisma/data.db-journal

/app/styles/tailwind.css
48 changes: 0 additions & 48 deletions .gitpod.yml

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ node_modules
/public/build
.env

/app/styles/tailwind.css
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
# Remix Indie Stack
# Remix Nordic Folk Stack

![The Remix Indie Stack](https://repository-images.githubusercontent.com/465928257/a241fa49-bd4d-485a-a2a5-5cb8e4ee0abf)
![The Remix Nordic Folk Stack](./nordic-folk-stack.png)

Learn more about [Remix Stacks](https://remix.run/stacks).

```
npx create-remix --template remix-run/indie-stack
npx create-remix --template chiangs/nordic-folk
```

## What's in the stack

- [Fly app deployment](https://fly.io) with [Docker](https://www.docker.com/)
- Production-ready [SQLite Database](https://sqlite.org)
- Healthcheck endpoint for [Fly backups region fallbacks](https://fly.io/docs/reference/configuration/#services-http_checks)
- [GitHub Actions](https://github.com/features/actions) for deploy on merge to production and staging environments
- Email/Password Authentication with [cookie-based sessions](https://remix.run/docs/en/v1/api/remix#createcookiesessionstorage)
- Production-ready [SQLite Database](https://sqlite.org)
- Database ORM with [Prisma](https://prisma.io)
- Styling with [Tailwind](https://tailwindcss.com/)
- End-to-end testing with [Cypress](https://cypress.io)
- Email/Password Authentication with [cookie-based sessions](https://remix.run/docs/en/v1/api/remix#createcookiesessionstorage)
- Local third party request mocking with [MSW](https://mswjs.io)
- End-to-end testing with [Cypress](https://cypress.io)
- Unit testing with [Vitest](https://vitest.dev) and [Testing Library](https://testing-library.com)
- Code formatting with [Prettier](https://prettier.io)
- Linting with [ESLint](https://eslint.org)
- Static Types with [TypeScript](https://typescriptlang.org)
- ~~Styling with [Tailwind](https://tailwindcss.com/)~~

Not a fan of bits of the stack? Fork it, change it, and use `npx create-remix --template your/repo`! Make it your own.

## Quickstart

Click this button to create a [Gitpod](https://gitpod.io) workspace with the project set up and Fly pre-installed

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)

## Development

- Initial setup: _If you just generated this project, this step has been done for you._
Expand Down
3 changes: 1 addition & 2 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ import {
ScrollRestoration,
} from "@remix-run/react";

import tailwindStylesheetUrl from "./styles/tailwind.css";
import { getUser } from "./session.server";

export const links: LinksFunction = () => {
return [{ rel: "stylesheet", href: tailwindStylesheetUrl }];
return [];
};

export const meta: MetaFunction = () => ({
Expand Down
5 changes: 0 additions & 5 deletions app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ export default function Index() {
alt: "Prisma",
href: "https://prisma.io",
},
{
src: "https://user-images.githubusercontent.com/1500684/157764276-a516a239-e377-4a20-b44a-0ac7b65c8c14.svg",
alt: "Tailwind",
href: "https://tailwindcss.com",
},
{
src: "https://user-images.githubusercontent.com/1500684/157764454-48ac8c71-a2a9-4b5e-b19c-edef8b8953d6.svg",
alt: "Cypress",
Expand Down
Binary file added nordic-folk-stack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
131 changes: 0 additions & 131 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"dev:css": "npm run generate:css -- --watch",
"dev:remix": "cross-env NODE_ENV=development binode --require ./mocks -- @remix-run/dev:remix dev",
"format": "prettier --write .",
"generate:css": "tailwindcss -o ./app/styles/tailwind.css",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"setup": "prisma migrate dev && prisma db seed",
"start": "remix-serve build",
Expand Down Expand Up @@ -69,10 +68,8 @@
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"prettier": "2.6.1",
"prettier-plugin-tailwindcss": "^0.1.8",
"prisma": "^3.11.1",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.23",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.3",
Expand Down
7 changes: 0 additions & 7 deletions tailwind.config.js

This file was deleted.

0 comments on commit 7540097

Please sign in to comment.