forked from remix-run/indie-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88cf640
commit 025208f
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Remix Indie Stack | ||
|
||
![The Remix Indie Stack](https://repository-images.githubusercontent.com/465928257/a241fa49-bd4d-485a-a2a5-5cb8e4ee0abf) | ||
|
||
Learn more about [Remix Stacks](https://remix.run/stacks). | ||
|
||
## What's in the stack | ||
|
@@ -22,14 +24,24 @@ Not a fan of bits of the stack? Fork it, change it, and use `npx create-remix -- | |
|
||
## Development | ||
|
||
When you generated this project, it should have initialized the prisma database for you. With your sqlite database setup with tables for your data model via prisma, you're ready to start the dev server: | ||
- Initial setup: _If you just generated this project, this step has been done for you._ | ||
|
||
```sh | ||
npm run dev | ||
``` | ||
```sh | ||
npm run setup | ||
``` | ||
|
||
- Start dev server: | ||
```sh | ||
npm run dev | ||
``` | ||
|
||
This starts your app in development mode, rebuilding assets on file changes. | ||
|
||
The database seed script creates a new user with some data you can use to get started: | ||
|
||
- Email: `[email protected]` | ||
- Password: `rachelrox` | ||
|
||
### Relevant code: | ||
|
||
This is a pretty simple note-taking app, but it's a good example of how you can build a full stack app with Prisma and Remix. The main functionality is creating users, logging in and out, and creating and deleting notes. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters