https://github.com/2wce/redwood-warehouse-application
A warehouse management application built using Redwood & Tailwind
https://github.com/2wce/redwood-warehouse-application
graphql netlify prisma2 react redwoodjs
Last synced: 25 days ago
JSON representation
A warehouse management application built using Redwood & Tailwind
- Host: GitHub
- URL: https://github.com/2wce/redwood-warehouse-application
- Owner: 2wce
- License: mit
- Created: 2020-05-22T10:01:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T19:19:06.000Z (about 6 years ago)
- Last Synced: 2025-06-04T05:33:07.138Z (12 months ago)
- Topics: graphql, netlify, prisma2, react, redwoodjs
- Language: JavaScript
- Homepage: https://redwood-warehouse.netlify.app
- Size: 225 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redwood
>**HEADS UP:** RedwoodJS is _NOT_ ready for use in Production. It relies heavily on Prisma2, which is currently in testing with an expected production release coming soon. See status at ["Is Prisma2 Ready?"](https://isprisma2ready.com)
## Getting Started
- [Redwoodjs.com](https://redwoodjs.com): home to all things RedwoodJS.
- [Tutorial](https://redwoodjs.com/tutorial/welcome-to-redwood): getting started and complete overview guide.
- [Docs](https://redwoodjs.com/docs/introduction): using the Redwood Router, handling assets and files, list of command-line tools, and more.
- [Redwood Community](https://community.redwoodjs.com): get help, share tips and tricks, and collaborate on everything about RedwoodJS.
### Setup
We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:
```terminal
yarn install
```
### Fire it up
```terminal
yarn redwood dev
```
Your browser should open automatically to `http://localhost:8910` to see the web app. Lambda functions run on `http://localhost:8911` and are also proxied to `http://localhost:8910/api/functions/*`.
## Development
### Database
We're using [Prisma2](https://github.com/prisma/prisma2), a modern DB toolkit to query, migrate and model your database.
Prisma2 is [not ready for production](https://isprisma2ready.com) at the moment.
To create a development database:
```terminal
yarn redwood db up
```
This will read the schema definition in `api/prisma/schema.prisma` and generate a sqlite database in `api/prisma/dev.db`
If you've made changes to the schema run `yarn redwood db save` to generate a migration, and `yarn redwood db up` to apply the migration/ generate a new ORM client.